谷歌分析缺少 __utmz cookie [英] Google Analytics missing __utmz cookie

查看:22
本文介绍了谷歌分析缺少 __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,如果我转到 other__utmz 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.

我查看了文档,最近没有看到任何对此更改的引用,所以有点难住.

I checked out the docs, and don't see any reference to this changing recently, so a bit stumped.

推荐答案

Universal 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.

这篇关于谷歌分析缺少 __utmz cookie的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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