動態帳戶僅支援使用舊版 JavaScript 實施作業 (H Code)。目前 AppMeasurement 資料庫或 Adobe Experience Platform 中的標記不支援這些變數。
dynamicAccountMatch
變數是 dynamicAccountList
查看及比較值的值。如果 dynamicAccountSelection
未設定為 true
,此變數會遭到忽略。
如果此變數未定義,其預設值為 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
變數 (例如,location.host
是空白的)。請確認 s_account
包含預設報表套裝。s_account
變數。