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

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

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

See also: bitly.referring_url.


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

bitly.referring_domain == ""


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

Resource information

Target service: Bitly

Type: string

Array: No

Always exists: No