TE
科技回声
首页
24小时热榜
最新
最佳
问答
展示
工作
中文
GitHub
Twitter
首页
Ask HN: How does Google Analytics, a client-side script, get referring URLs?
2 点
作者
mjswensen
将近 5 年前
Shower thought: given that Google Analytics is installed by dropping a JavaScript snippet onto the page, how does Google get the referring page when visitors land on the page via link or search result, etc.?
1 comment
Hackbraten
将近 5 年前
Collapse
The script should be able to read `Document.referrer` and post the result to wherever it wants.
评论 #23751182 未加载