Sitecatalyst - DTM - Direct call rules - clear sticky variables

我的梦境 提交于 2019-12-13 04:57:56

问题


http://imgur.com/NLPC56x

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?


回答1:


You are getting the double calls because of the use of s.tl() within your code. You are correct in your assumption.



来源:https://stackoverflow.com/questions/26708149/sitecatalyst-dtm-direct-call-rules-clear-sticky-variables

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!