--- title: "Geolocation Rules" slug: "geolocation-rules" updated: 2025-12-18T10:28:34Z published: 2025-12-18T10:28:34Z canonical: "usercentrics.com/geolocation-rules" --- > ## Documentation Index > Fetch the complete documentation index at: https://usercentrics.com/docs/llms.txt > Use this file to discover all available pages before exploring further. # 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](https://cdn.document360.io/17f91ed2-e9be-4746-9f2b-1fa43f97e9b5/Images/Documentation/georules.png?sv=2026-02-06&spr=https&st=2026-11-23T13%3A24%3A20Z&se=2026-11-23T14%3A24%3A20Z&sr=b&sp=r&sig=h2kaXnfccUls%2FXMs%2FEElx4OMAATupuOJRBJauaUoKf0%3D) ## 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 instance, 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 created to be displayed in California. 4. Save the changes.