The referring URL, if available.

This information is taken from the HTTP Referrer header sent by the client. Sometimes, the referring URL is not available in the header; in those cases, bitly reports the URL as 'direct'. This might occur, for example, when someone clicks on the link directly in an email rather than from a web page, or if they paste it into the address bar in a browser.

Otherwise, this target contains the full referring URL. This information is valuable because, for each click on a shortened link, it supplies the URL of the page where that link appeared.

For example, this link goes to If you click on it on the page you're reading now, the bitly.referring_url will be the URL of this page. If you embed the link on a different page, such as, and then click on it, the bitly.referring_url for that click will be

This information allows you to track clicks on links from particular pages.

See also: bitly.referring_domain.


  1. Filter for bitly links embedded on and clicked from a specified web page:

bitly.referring_url == ""

Resource information

Target service: Bitly

Type: string

Array: No

Always exists: No