I need to capture the Activity Map "region" whenever the user clicks a link on my site but before the s.tl action is fired. I am aware I can use Processing Rule to copy this value but I need the value client-side. I can see the value in the EC Debugger so I know it's working properly.
I've tried the following without success:
console.log('activity map value=' + s.contextData['a.activitymap.region']);
console.log('activity map value=' + s.contextData['c.a.activitymap.region']);
console.log('activity map value' + s.ActivityMap.region);
Any thoughts on how I can get this value?
Can you expand on what it is you are trying to accomplish?
What is the region data going to help you with?