Skip to main content

Sites Management

The Sites section is where you register and configure your web properties for consent management.

Registering a new site

  1. Navigate to Sites in the sidebar
  2. Click Add Site
  3. Enter the required information:
    • Site Key: A unique identifier (e.g., my-site-prod)
    • Display Name: Human-readable name shown in the portal
    • Domains: List of domains where this site key will be used

Site configuration

Each site has a configuration that controls:

  • Banner behavior: When and how the consent banner appears
  • Categories: Which consent categories are available (Analytics, Marketing, Preferences, etc.)
  • Region rules: How consent defaults vary by visitor region
  • Styling: Colors, fonts, and layout of the consent UI

Editing configuration

  1. Select the site from the site switcher
  2. Go to Config Editor or click Edit on the site card
  3. Modify the JSON configuration
  4. Click Save to publish changes

Domain verification

For production sites, verify domain ownership to prevent unauthorized use of your site key:

  1. Add a DNS TXT record: _dw-cmp-verify.yourdomain.com
  2. Set the value to your site key
  3. Click Verify in the portal

Environment management

Use separate site keys for different environments:

EnvironmentSite Key Pattern
Developmentmy-site-dev
Stagingmy-site-staging
Productionmy-site-prod

This keeps test traffic separate from production analytics.

Archiving sites

To archive a site you no longer use:

  1. Go to Sites
  2. Click the site's menu (⋯)
  3. Select Archive

Archived sites stop serving configurations but retain historical data for compliance.

Next steps