[英]How can Google, Facebook, etc find out which website you came from - when there is no referrer?
Let's say Site A is a traffic generating website. 假设网站A是产生流量的网站。 User A clicks on a banner on Site A and gets redirected to Site B (for example a landing page). 用户A单击站点A上的横幅,然后重定向到站点B (例如,登录页面)。 From Site B there is a link to Site C (which is for example Facebook, Google, or any other big company). 从站点B到站点C的链接(例如Facebook,Google或任何其他大公司)。
Question: How can Site C determine which sources did User A come from? 问题: 站点C如何确定用户A来自哪些来源? Becuase I have seen a lot of Site C websites that knew which was Site A . 因为我看过很多Site C网站,它们知道哪个是SiteA 。
As far as I know, browsers cannot pass Site A referrer url to Site C . 据我所知,浏览器无法将站点A引用网址传递给站点C。 How do they do it anyway? 他们怎么做呢? Are they using any kind of PHP or Javascript code for that? 他们为此使用任何形式的PHP或Javascript代码吗?
The way they know where you have been is because they drop cookies with unique IDs on your computer so they can track you. 他们知道您去过哪里的方式是因为他们在您的计算机上放置了具有唯一ID的cookie,以便他们可以跟踪您。
For example if a website uses any Facebook widgets, Facebook is already tracking you and knows what ads to target you with based on the sites you have visited once you go back to Facebook.com, or if Google Analytics is on the website (which it probably will be) this is tracking everything you go on from one site to the next and doing the same with serving relevant ads. 例如,如果某个网站使用任何Facebook小部件,则Facebook已经在跟踪您,并且一旦您返回Facebook.com,即根据您访问过的网站,或者是否在该网站上使用了Google Analytics(分析),就会知道要针对您的广告可能会)这是跟踪您从一个站点到另一个站点进行的所有操作,并通过投放相关广告来进行相同的操作。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.