https://i.stack.imgur.com/elGJz.jpg
Hi, I'm using Direct call rule inside DTM. I'm clicking on a href link (opens in a new window). I want to remove/clear the eVars and events associated with the click. I've used custom page code to clear the values.
Direct call rule 1> Adobe analytics Tracking setting :
s.tl(); - does NOT increment a pageview;
Direct call rule 1 > Adobe analytics> Inside custompagecode:
s.eVar12 = dataLayer.testString;
s.events="event2,event16,event19,event22";
s.tl(this,'o','testClick');
s.events="";
s.eVar12="";
return true;
The problem:
I have used s.tl() function inside custom page code, which triggers (pe=lnk_o), and by default the direct call rule again triggers(pe=lnk_o). I'm seeing "pe=lnk_o" being triggered twice.
How do I clear sticky variables in Direct call rule and without duplicating the request?