Geotargeting Rules

Geotargeting rules

Trusted Data Interchange (TDI) offers the ability to create rules based on the geographic location of the user based on IP lookup.


What is geotargeting?

Geotargeting is a way of determining the geographic location of website visitors and displaying different content based on a visitor's location. Location can mean the visitor's country, state, region, city, postal code/ZIP Code, or Designated Marketing Area (DMA) region.

Geotargeting is mostly found in online advertising as well as internet television. Sites like iPlayer and Hulu can restrict the content available to users based on a user's geographic location, thereby implementing digital rights management. Proxy servers and virtual private networks (VPNs) can give the wrong location. Tags or ads can vary for each country depending on how you set up your geotargeting rules. As a result, ads displayed to a user in Ireland can vary from ads displayed to a user in France.


Geotargeted rules in TDI

Mezzobit created the first geotargeting solution available in a free tag management system.

To use this feature, create a rule that uses the Location condition. When editing the rule, you can specify a country, city, state, or postal code as a location. TDI provides some suggested items when you start typing. The list of geographical locations includes cities, states/regions, countries, and some special cross-state political structures like the European Union. In addition, the location could be specified in the form of postal code or, in the United States, DMA regions. To find postal codes and DMA regions, type at least three characters.


Connect your rule to a tag, and the tag has been geocoded. TDI will geocode any user whose tag set includes a geotargeted rule. As with any IP lookup, there are instances where the correct geography may not be returned, such as for users using VPNs or users on corporate network WANs. Some regions provide better location accuracy than others.



A cookie notice is required for the EU, but not for India. A privacy policy is needed for all locations, but the policies for the EU, Turkey, Georgia are different.

Create one cookie notice object and three privacy policy notice objects. Add them to a container.

- EU cookie notice

- EU privacy policy

- Turkey/Georgia privacy policy

- All other locations privacy policy

Create these three rules:

Rule 1: Location in European Union. Assign this rule to the EU cookie notice and EU privacy policy.

Rule 2: Location in Turkey and Georgia. Assign this rule to the privacy policy for Turkey and Georgia.

Rule 3: Location not in European Union, Turkey, and Georgia. Assign this rule to the privacy policy for all other locations.


Have more questions? Submit a request


Please sign in to leave a comment.