简体   繁体   English

Google跟踪代码管理器Universal Analytics utmv cookie值

[英]Google Tag manager Universal Analytics utmv cookie value

I would like to access the utmv cookie value in Universal Analytics via Tag manager. 我想通过代码管理器访问Universal Analytics中的utmv cookie值。 Reading this article here, I'm not sure this can be done. 在这里阅读本文,我不确定是否可以做到。 Can anybody weigh in on this? 有人可以为此加重吗? I want to use a First Party Cookie tag if possible with the value of "utmv". 我想尽可能使用“ utmv”值的第一方Cookie标记。

http://www.optimizesmart.com/google-analytics-cookies-ultimate-guide/#Universal_Analytics_Cookies http://www.optimizesmart.com/google-analytics-cookies-ultimate-guide/#Universal_Analytics_Cookies

You can read the first value in a cookie called utmv by creating a new macro, set type to "first party cookie" and cookie name to utmv. 您可以通过创建一个新的宏来读取名为utmv的cookie中的第一个值,将类型设置为“第一方cookie”,并将cookie名称设置为utmv。

However if your intention is to get information from Universal Analytics this will not work. 但是,如果您打算从Universal Analytics获取信息,则此方法将无效。 You can read utmv cookies that have been set by prior versions of Google Analytics, but UA will set only a single GA cookie (called by default _ga but might be renamed) which holds the client id as only value. 您可以读取由先前版本的Google Analytics(分析)设置的utmv cookie,但UA只会设置一个将客户ID保留为唯一值的GA GA cookie(默认情况下称为_ga,但可能会重命名)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM