Sites Management
The Sites section is where you register and configure your web properties for consent management.
Registering a new site
- Navigate to Sites in the sidebar
- Click Add Site
- 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 Key: A unique identifier (e.g.,
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
- Select the site from the site switcher
- Go to Config Editor or click Edit on the site card
- Modify the JSON configuration
- Click Save to publish changes
Domain verification
For production sites, verify domain ownership to prevent unauthorized use of your site key:
- Add a DNS TXT record:
_dw-cmp-verify.yourdomain.com - Set the value to your site key
- Click Verify in the portal
Environment management
Use separate site keys for different environments:
| Environment | Site Key Pattern |
|---|---|
| Development | my-site-dev |
| Staging | my-site-staging |
| Production | my-site-prod |
This keeps test traffic separate from production analytics.
Archiving sites
To archive a site you no longer use:
- Go to Sites
- Click the site's menu (⋯)
- Select Archive
Archived sites stop serving configurations but retain historical data for compliance.