bitly.referring_url

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 datasift.com: http://bit.ly/R7lbKz. 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 example.com/test.html, and then click on it, the bitly.referring_url for that click will be example.com/test.html.

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

See also: bitly.referring_domain.

Examples

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

bitly.referring_url == "example.com/MyPageOfGreatLinks"

Resource information

Target service: Bitly

Type: string

Array: No

Always exists: No