I'm having some trouble using document.referrer on some sites, even the reference site using HTTP protocol.
In what circumstances document.referrer may be empty (except HTTPS to HTTP)?
What is the best way to get the url reference only document.referrer?
In my site, document.referrer is empty, but when I look in Analytics website of references appears.