referrer

The Document.referrer property returns the URI of the page that linked to this page.

MDN Reference