Skip to content

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.

GeoRules

Prerequisites

  1. You must already have an account set up with Usercentrics. In addition, in the Configurations page, you must have all the different configurations set up (a default one and optionally some regional ones). 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.
  2. Within your configurations, no regional settings must be in place when using Geolocation Rules. This means that under Configuration - Legal Specifications, you have to select "Display CMP to all users (default)", and for CCPA configurations "Display CCPA CMP to all users".

Setting up default and regional settings

First, create a ruleset and connect it to the configuration you set up as default for a bigger region. For instance, you can set up the "United States" ruleset and assign to it the configuration that applies to most of the US. To do so, follow these steps:

  1. Navigate to Geolocation Rulesets.
  2. Click Create Ruleset or Add Ruleset to add a new ruleset.
  3. Add a Rule Name and a Description. For example, "United States" and "Ruleset for the United States".
  4. 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.
    1. 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.
  5. Click Create Ruleset to save.

After you created the ruleset and associated the default configuration to it, you can add regional rules. For intsance, you can add a regional rule to the US ruleset that overrides the generic US rules for users in California. To do so, follow these steps:

  1. On the ruleset, select "..." - Regional Settings - Add Regional Rule.
  2. Add a Rule Name, and select one or more regions under Region. For example, select California.
  3. 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.
  4. Save the changes.