When a visitor clicks on a link or is redirected to my site from another site, Google typically includes information about the page the domain and the page the visitor was linked from.
How does Google track this information?
Webmasters Stack Exchange is a question and answer site for webmasters. It only takes a minute to sign up.
Sign up to join this communityI think, it uses the document.referrer properties via Javascript. See the attached link!