TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: How do website analytics tools track where traffic came from?

1 点作者 ramikalai超过 1 年前
I'm curious to know how something like Google Analytics can tell where traffic is coming from to your site? Do they just rely on document.referrer? or is there more happening under the hood?

2 条评论

XCSme超过 1 年前
For UXWizz I just use the Referrer header passed by the browser, it's not very reliable though. Sometimes it's very hard in analytics/business to tell "how did this user find me", the answer is very rarely simple (e.g. even if it's from a Google search, you don't know exactly what prompted the user to search for your business or what exactly they searched for).
billconan超过 1 年前
based on incoming ip addresses