Ask HN: How does Google Analytics, a client-side script, get referring URLs?

https://news.ycombinator.com/item?id=23749257
by mjswensen • 6 years ago
2 2 6 years ago

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.?

Related Stories

Loading related stories...

Source preview

news.ycombinator.com