Google分析Cookie [英] Google analytics Cookies

查看:237
本文介绍了Google分析Cookie的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的浏览器中cookie是通过名称__utma,__ utmb等创建如果我拒绝cookie创建。我认为这个cookie是google analytics.Any人知道如何谷歌创建此cookie甚至浏览器不支持cookie creaton.Thanks

In my browser cookies are creating by name __utma,__utmb and so on if i reject cookie creation.I think this cookie is for google analytics.Anybody know how google creating this cookie even browser not supporting cookie creaton.Thanks

推荐答案

是的,这些是Google Analytics(分析)的Cookie。

Yes, those are Google Analytics' cookies.

/更新它们:

当浏览器请求包含GA跟踪代码(GATC)的网页时,GATC会在浏览器中设置/更新Cookie。 GATC然后通过对 __ utm.gif (也称为跟踪像素)的HTTP请求将Cookie中保存的数据发送回GA服务器。 Cookie中保存的数据与其他信息一起附加到请求中。您可以通过检查此请求 utmcc 来确定哪些信息来自Cookie:Cookie值是右侧的一切,例如:

when a browser requests a web page that contains the GA tracking code (GATC), the GATC sets/updates the cookies in browser. The GATC then sends the data held in the cookies back to the GA servers via an HTTP Request for __utm.gif (aka, the "tracking pixel"). The data held in the cookies are appended to that Request along with other information. You can identify which of that information was taken from the cookies by checking this Request " utmcc"--the cookie values are everything on the right side, e.g.:

utmcc = __ utma%3D117243.1695285.22%3B%2B __utmz%3D117945243.1202416366.21.10。 utmcsr%3Db%7C utmccn%3D(referral)%7C utmcmd%3Dreferral%7C utmcct%3D%252Fissue%3B%2B

utmcc=__utma%3D117243.1695285.22%3B%2B __utmz%3D117945243.1202416366.21.10. utmcsr%3Db%7C utmccn%3D(referral)%7C utmcmd%3Dreferral%7C utmcct%3D%252Fissue%3B%2B

在基本实施中,Google Analytics / set / updates 三个第一方Cookie:

In the basic implementation, Google Analytics creates/sets/updates three first-party cookies:

__ utma :访问者ID,持续两年;

__utma: Visitor ID, which persists for two years;

__ utmb :会话ID,持续30分钟不活动状态

__utmb: Session ID, which persists for 30 minutes of inactivity

strong> __ utmc :会话ID,它持续到用户退出浏览器;

__utmc : also Session ID, which persists until the user quits the browser;

这些不是唯一的Cookie GA使用,这些只是标准集;例如 __ utmz 用于存储GA帐户所有者定义的广告系列变量的值; __ utmv 用于创建自定义访问者细分, __ utmx 用于Google网站优化工具(分割路径测试)。

These aren't the only cookies GA uses, these are just the standard set; for instance, __utmz is used to store values of GA-account-owner-defined campaign variables; __utmv is used to create custom visitor segments, and __utmx is for the Google Website Optimizer (split-path testing).

访问者标识符__utma由四个组件组成:域散列,随机唯一ID,时间戳(标记初始访问,上一个会话,当前会话)和会话计数器(只有一个整数)。即,(域散列)(随机)(时间初始)(时间先前)(时间当前)(会话计数)

The Visitor Identifier, __utma, is comprised of four components: a domain hash, a random unique ID, timestamps (marking initial visit, previous session, current session), and a session counter (just a single integer); i.e., (domain hash).(random).(time initial).(time previous).(time current).(session count)

会话标识符__utmb和__utmc分别由域散列+时间和域散列组成;即__utmb =(域散列).4.10。(时间); __utmc =(domain hash)

The Session Identifiers, __utmb and __utmc, are comprised of a domain hash + time, and domain hash, respectively; i.e., __utmb = (domain hash).4.10.(time); __utmc = (domain hash)

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

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