Google Analytics(分析)缺少__utmz Cookie [英] Google Analytics missing __utmz cookie
问题描述
我在我的网站上安装了通用分析,并且想解析 __ utmz
cookie以获取推荐信息。但是,我从来没有看到这个cookie集。
I have universal analytics installed on my website, and want to parse the __utmz
cookie to get referral info. However, I never see this cookie set.
有什么变化?任何原因,这没有设置?
Has something changed? Any reason this isn't set?
当我浏览我的网站时,我看到了 _ga
cookie,我看到
I do see the _ga
cookie when I browse my site, and I see the __utmz
cookie in my browser cache if I go to other sites.
我检查了文档,然后在浏览器缓存中输入__utmz
I checked out the docs, and don't see any reference to this changing recently, so a bit stumped.
推荐答案
通用Analytics(分析)不会建立任何__utm * Cookie 。
Universal Analytics doesn't create any __utm* cookies.
但是,您可以在自己的网站上同时使用Universal Analytics代码(analytics.js)和传统代码(ga.js)。这将允许您填充您的UA配置文件并从__utmz中刮除值。
However, you can use Universal Analytics code (analytics.js) AND the traditional code (ga.js) simultaneously on your site. This will allow you to populate your UA profile and scrape the values from __utmz.
这篇关于Google Analytics(分析)缺少__utmz Cookie的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!