跨域用户跟踪 [英] Cross Domain User Tracking
本文介绍了跨域用户跟踪的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我们在不同的网域上有多个网站,我想要追踪使用者在这些网站上的变动。
We have several websites on different domains and I'd like to be able to track users' movements on these sites.
- Cookie不可行,因为它们不跨域边界。
- 我可以查看IP地址和用户代理的组合,但在某些情况下无法正常工作。
- 我不想要使用Flash或其他插件。
有任何想法吗?或者我注定要依赖IP / User_Agent组合?
Any ideas? Or am I doomed to rely on the IP/User_Agent combination?
推荐答案
您可以指定一个域或子域进行跟踪,投放1x1像素的图片,并将其包含在您要跟踪的所有网页中。使用该图片提供Cookie,查看跟踪网域的服务器日志,瞧瞧。
You can designate one domain or subdomain to tracking and have it serve a 1x1 pixel image which you include in all pages you would like to track. Serve a cookie with the image, look at the tracking domain's server logs, voilà.
这篇关于跨域用户跟踪的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文