Common errors in dynamic accounts are described in the following sections.
Hard Coded Account
If the desire is to always send data to a specific report suite, set s_dynamicAccountSelection to false (alternately, the variables may be removed altogether:
var s_account="defaultreportsuiteid" REMOVE: s.dynamicAccountSelection=true REMOVE: s.dynamicAccountList="devreportsuite1=qa.client.com;reportsuite1=client.com"
In the case above, defaultreportsuiteid is always used after the other two lines are removed.
Placement of Code
Defining s_account after the lines of code does not override the dynamic account selection, as shown below.
var s_account="defaultreportsuiteid" s.dynamicAccountSelection=true s.dynamicAccountList="devreportsuite1=qa.client.com;reportsuite1=client.com" s_account="anotherreportsuiteid"
In the example above, the account "anotherreportsuiteid" overrides "defaultreportsuiteid," but does not override any matches that occur in s.dynamicAccountList. The function that evaluates s.dynamicAccountList is actually executed much later in the .JS file.
Multi-suite tagging may be used in conjunction with dynamic account selection, as shown below.
Dynamic Account Match
Do not put the dynamic account match variables in quotes. The options are displayed below.
Host/Domain and Path
Path and Query String