为什么分析使用1x1像素? [英] Why do analytics use 1x1 pixels?
问题描述
导致插件分析使用1x1 img像素调用其代码的原因是什么?此快捷方式有什么权限?
What are the reasons that cause plugin analytics to use 1x1 img pixels to call their code? What permissions does this shortcut?
推荐答案
这些图像后面是基于服务器的脚本,例如php,python等,可以获取并记录有关访问者的信息(访问页面,引荐来源网址,ip, ...)的跟踪统计信息.服务器将能够从http请求中获取您可以在服务器端获取的所有信息.这种方法的好处是,它几乎可以在所有浏览器和设备上运行.它也是轻量级的,因为1x1图像将导致几乎零带隙.
Behind these image is a server-based script like php, python or so on which can get and log information about the visitor (visited page, referer, ip, ...) for the tracking-stats. The server will be able to get all information you can get on the serverside from a http-request. The benefits of this methods are that it works on nearly all browsers and devices. Its also lightweight because an 1x1 image will cause nearly zero bandwitch.
它是跟踪网页浏览量的常用解决方案.为了获得更大的灵活性,某些替代跟踪方法(例如pwiki)甚至不使用javascript.他们正在插入一个跟踪像素,当用户禁用了javascript或他正在使用一些可删除跟踪脚本的插件时,该像素也可以使用.
Its a common solution to track pageviews. To get more flexible, some alternative tracking-methods like pwiki don't even use javascript. They're inserting a tracking-pixel which also works when the user has javascript disabled or he is using some plugins which remove tracking-scripts.
它也适用于电子邮件,因此发件人可以了解有关哪些用户以及多少用户阅读的信息,例如新闻邮件.但是如今,几乎所有桌面和Web客户端默认都阻止电子邮件中的图像,以阻止这些跟踪方法.仅当用户明确允许特定域使用此图像时,才会显示图像.
It also works on emails so that the sender has information about which and how much users read for example a newsletter-mail. But nowadays nearly all deskto- and webclients are blocking images in emails by default to prevent these tracking-methods. Images will only be displayed when the user explicit allow this for a specific domain.
这篇关于为什么分析使用1x1像素?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!