bitly.referring_domain

The domain of 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 bitly.referring_url as 'direct' and it does not populate bitly.referring_domain. This might occur, for example, when someone clicks on the link directly in an email rather than from a web page.

Otherwise, it is the domain of the referring URL. This information is valuable because, for each click on a shortened link, it identifies the website where that link appeared. For example, this link goes to datasift.com: http://bit.ly/R7lbKz.

If you click on that link on the page you're reading now, the bitly.referring_domain is dev.datasift.com. If you embed the link on a different page, such as example.com/test.html, and then click on it, the bitly.referring_domain for that click will be example.com.

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

See also: bitly.referring_url.

Examples

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

bitly.referring_domain == "example.com"

Notes

Here are some examples of the content we found in bitly.referring_domain during a short test:

bitly.com forward.com groups.yahoo.com
momgenerations.com open.spotify.com redhotchilipeppers.com
t.co twitter.com www.linkedin.com
www.nick.com www.theladders.com www.youtube.com

Resource information

Target service: Bitly

Type: string

Array: No

Always exists: No