Dynamic accounts are only supported using legacy JavaScript implementations (H Code). These variables are not supported in current AppMeasurement libraries or tags in Adobe Experience Platform.
The dynamicAccountMatch
variable is the value that dynamicAccountList
looks at and compares its values. If dynamicAccountSelection
is not set to true
, this variable is ignored.
If this variable is not defined, its default value is window.location.host
.
s.dynamicAccountMatch=[DOM object]
// Look at the URL path to determine report suite
s.dynamicAccountMatch = location.pathname;
// Use a query string
s.dynamicAccountMatch = location.search;
// Use the full URL
s.dynamicAccountMatch = location.href;
// Use concatenated variables
s.dynamicAccountMatch = location.hostname + location.pathname + location.search;
location
variables defined (for example, location.host
is blank). Make sure s_account
contains a default report suite.s_account
variable server-side.