SITECATALYST - DTM - 直接调用规则 - 明确粘变量 [英] Sitecatalyst - DTM - Direct call rules - clear sticky variables

查看:274
本文介绍了SITECATALYST - DTM - 直接调用规则 - 明确粘变量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

http://imgur.com/NLPC56x

你好, 我使用的是内部的DTM直接调用规则。我点击一个链接的href(在新窗口中打开)。 我想删除/清除与点击相关的eVars和事件。我使用自定义页面code清除值。

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.

s.tl(); - 不增加综合浏览量;

s.tl(); - does NOT increment a pageview;

s.eVar12 = dataLayer.testString;
s.events="event2,event16,event19,event22";
s.tl(this,'o','testClick');
s.events="";
s.eVar12="";
return true;

的问题:

我已经使用s.tl()函数中的自定义页面code,这将触发(PE = lnk_o),默认情况下直接调用规则,再次触发(PE = lnk_o)。我看到PE = lnk_o被触发两次。

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?

推荐答案

您在()内的code得到,因为使用s.tl的双重要求。你是正确的在你的假设。

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

这篇关于SITECATALYST - DTM - 直接调用规则 - 明确粘变量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆