Today I Learned…

By Vitor Freitas July 07, 2016

How to access the referrer link of a web page

This is one of those things that I knew it was possible to achieve, but never really came across the solution on how to access this piece of information.

The value is an empty string if the user navigated to the page directly (not through a link, but, for example, via a bookmark).