Location rules are the set of locations that define your target audience based on geolocation.
The following rules are available:
Include Country
Exclude Country
Include Region/State
Exclude Region/State
Include City
Exclude City
Include Latitude/Longitude - Radius Zone (more than 55km or 31 miles, otherwise the accuracy is lower)
Exclude Latitude/Longitude - Radius Zone (more than 55km or 31 miles, otherwise the accuracy is lower)
Include IP Address
Exclude IP Address
To add a rule, click the 'Add Location' button and select the appropriate rule and find a location.
Locations can also be bulk uploaded using a CSV file.
Page inclusions and exclusions
Each location segment also supports page-level rules, accessible via the Page Inclusions and Page Exclusions tabs within the segment.
When the Website setting is set to selected pages of a website, each segment requires at least one page inclusion rule specifying which URLs on your site will trigger the consent banner for visitors who match that segment's location rules. Without an inclusion rule, the banner will not appear for that segment even if the visitor matches the location.
Page exclusions can further suppress the banner on specific pages — for example, you may want to show a consent banner across your site but suppress it on a thank-you or confirmation page.
Both page inclusions and page exclusions support four match modes:
• Page URL equals to — exact URL match
• Page URL contains — URL contains the specified string
• Page query contains — the URL query string contains the specified value
• Page hash contains — the URL hash fragment contains the specified value
