Ask HN: How do website analytics tools track where traffic came from? 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? |