HTTP - Referer (Referrer)

> (World Wide) Web - (W3|WWW) > (HTTP|HTTPS) - Hypertext Transfer Protocol

1 - About

The referer is an header field that identifies the URL of the page where the link was clicked (ie where the request originated).

it identifies the address of the web page that linked to the resource.

referer is a misspelling of referrer. See HTTP referer note-1

A referrer source is either:

Advertising

3 - Javascript

  • In a iframe
var referrer = parent.document.referrer;
// not in a iframe document.referrer;
  • Print
console.log(referrer);

where: