bitly.country_code

The 2-character ISO 3166-1 country code for the IP address from which a user clicks a bitly link.

You can use this target to filter for clicks on bitly links from one or more countries you specify by the 2-character ISO code of the IP address of the client. Remember that it gives no information about the pages users are going to, nor does it tell you about the location from which the bitly link was originally created.

Examples

  1. Filter for clicks on bitly links made in Germany:

    bitly.country_code == "de"

  2. Filter for clicks on bitly links made outside the United States:

    bitly.country_code != "us"

  3. Filter for clicks on bitly links made in France, Spain, or Italy:

    bitly.country_code in "fr, es, it"

Resource information

Target service: Bitly

Type: string

Array: No

Always exists: No