How can I disable Context Data?
Do I need to do this in Adobe Launch or if in AA settings, where can I get this done?
Do I need to do this in Adobe Launch or if in AA settings, where can I get this done?
There are folwing ways you can disable activity map contextData.
1. Disable clickmap in AA tool. (update AA version to v1.7.4 if you do not find an option within link tracking section).
2. set any of the following code in do-plugin section under custom code in AA tool.
s.ActivityMap.linkExclusions
// Exclude links tagged with a special linkExcluded CSS class
<span class="linkExcluded">exclude-link1</span> //DOM example
<span class="linkExcluded">exclude-link2</span> //DOM example
s.ActivityMap.linkExclusions = 'exclude-link1,exclude-link2'; //custom code to be used
Note: It is a string that receives a comma-separated list of strings to search for in link text. If found, then the link is excluded from being tracked by Activity Map.
s.ActivityMap.regionExclusions
// Exclude regions on the page from its links being trackable by ActivityMap
<div id="links-excluded"> //DOM example
s.ActivityMap.regionExclusions = 'links-excluded'; //custom code to be used
Note: It is a string that receives a comma-separated list of strings to search for in region text. If found, then the link is excluded from being tracked by Activity Map.
If you don't want activity map to fire at all, find a common global div id which exists on all pages and exclude that with the help of s.ActivityMap.regionExclusions. i.e. home etc.
Thanks,
Asheesh
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.