什么是 Google Analytics? __utm.gif 用来做什么?
Google Analytics 的 __utm.gif 有何用途(您知道使用 Google Analytics 在每个页面上加载的 1px × 1px gif 图像)?
我在 URL 中看到了我的屏幕分辨率和其他内容。他们就是这样将网站的所有数据发送回他们的服务器的吗?对图像进行 get 请求?因为这有点超级聪明!
What is Google Analytics' __utm.gif used for (You know that 1px × 1px gif image that loads on every page with Google Analytics)?
I see my screen resolution and other stuff in the URL. Is that how they send all the site's data back to their servers? With a get request on an image? Cause that's kinda uber clever!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
该图像是动态生成的,并且 URL 链接到您的帐户。
当您请求图像时,Google 会知道您的 IP 地址和其他一些基本信息,并可以推断出您的位置、请求时间、您的浏览器等。
不过,主要原因是跨站点脚本。请求图像更容易并且完全跨浏览器,因为您必须使用 JSON 将包含该信息的请求发送回 Google。
The image is dynamically generated and the URL is linked to your account.
When you request the image, Google knows your IP address and some other basic info and can deduce your location, the time of the request, your browser, etc.
The main reason, though, is cross-site-scripting. Requesting an image is easier and completely cross-browser, as you'd have to use JSON to send a request with that information back to Google.
是的。
Yes.
是的,你是对的。此请求用于向 Google 发送有关特定页面请求的详细信息,即:
Yes, you are correct. This request is used to send Google details about a particular page request, namely:
它是一个网络信标。阅读此内容:https://en.wikipedia.org/wiki/Web_beacon
it is a web beacon. Read this: https://en.wikipedia.org/wiki/Web_beacon