Geolocation Rules¶
Under Geolocation Rulesets, you can set up geolocation rules to display different CMP configurations on your website based on the user’s location. These rules help you comply with region-specific data privacy regulations.
To create geolocation rulesets, follow these steps:
- Before creating a ruleset, make sure you have all the different configurations (a default one and optionally some regional ones) created under Configurations. For example, you can have a configuration for the United States, and another one for one or more specific states in the USA that have the same requirements.
- Navigate to Geolocation Rulesets.
- Click Create Ruleset or Add Ruleset to add a new ruleset.
- Add a Rule Name and a Description. For example, "United States" and "Ruleset for the United States".
- In the Global Settings screen, under Global Configuration, select the configuration (Settings-ID) that will be used by default. For example, select the configuration you created as the default configuration for the United States.
- If by default you don't want to display the CMP layer, you still have to select a configuration in the Global Configuration field. Then select the Do not display CMP layer checkbox. In this case, the CMP layer won't be displayed, but it will still run in the background, with all services consented by default.
- Click Create Ruleset to save.
After you created the ruleset, you can add regional rules to it, to show other configurations in specific regions:
- On the ruleset, select "..." - Regional Settings - Add Regional Rule.
- Add a Rule Name, and select one or more regions under Region. For example, select California.
- In the Configuration field, select the configuration that will be shown in the selected region(s). For example, select the configuration you crerated to be displayed in California.
- Save the changes.