互联网广告商和第三方Cookie - 澄清? [英] Internet Advertisers and Third-Party Cookies - clarification?
问题描述
我阅读了这个问题,了解第三这是我已经知道的一个主题:
I've read this question about how third party cookie are set , which is a subject I already know :
它可以通过三种方式完成:
it can be done via three ways :
-
脚本(
application / javascript
)mime类型(在服务器端生成),也可以设置cookie。 (以及脚本响应)。
Script (
application/javascript
)mime type ( which is generated at server side) which can also set cookie. ( along with the script response).
img
链接< IMG href =http://www.advertiser.exmaple/add.cgi?source = example.com& user = 1032354>
表单提交到iframe(for safari)
form submission to an iframe ( for safari)
此外,这个答案很好地解释了。
Also , this answer explain it pretty well.
问题:
我在 example.com
中点击了眼镜
如何
眼镜的广告
? img
/ 脚本
/ 向iframe提交表单
正在为example.com上的每次点击请求(眼镜
的查询字符串值)? (我几乎不相信)
How does advertiser.com
knows it should show me ads about glasses
? does an img
/ script
/ form submission to an iframe
is being requested (with query string value for glasses
) for each click on example.com? (I hardly believe so)
(即使如此,也就是说 advertiser.com
和 example.com
必须同意项目#447
是眼镜
.. ..他们都共享一个db?--- huh?)
(even if so , it means that both advertiser.com
and example.com
has to agree that item #447
is glasses
....do they both share a db ? ---huh ?)
它是如何工作的?
推荐答案
When you visit http://www.example.com/glasses, the resources loaded from this page (images, scripts, etc.) are requested with the Referer: http://www.example.com/glasses
HTTP header. This way the advertiser knows which page you are on. Of course they can analyze the URL for keywords, or make a request and analyze the HTML, but more often they already know all they need. They know example.com uses their ads, so they often crawl the website with the help of a sitemap.
如果 标题(所有人都可以在浏览器中停用),广告客户可以使用JavaScript获取网址,该网址可以通过多种方式发送跨原始请求,包括CORS。该脚本还可以通过分析当前网页的HTML来即时获取正确的关键字。
If the Referer header is not sent (everyone can disable it in their browser), the advertiser can get the URL using JavaScript, which can send cross-origin requests in various ways, including CORS. The script can also get the right keywords instantly by analyzing current page's HTML.
拥有关键字后,广告客户的软件会决定您应该看到哪些广告。顺便说一下,他们会在他们的数据库中创建您的个人资料,并为您设置一个带有您的ID的Cookie,以跟踪您的偏好设置和行为,并在未来向您展示更多个性化广告。
Having the keywords, the advertiser's software will decide which ads you should see. And, by the way, they will create your profile in their database and set you a cookie with your ID, to track your preferences and behavior - and show you more personalized ads in the future.
这篇关于互联网广告商和第三方Cookie - 澄清?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!