Serve your consent banner from your own domain. Better performance, better privacy, zero maintenance.
By default, consent management scripts are loaded from a third-party domain. First-party CMP serving lets you load your consent banner from your own subdomain, keeping all requests on your domain.
Same-origin requests load faster with no cross-origin overhead.
All consent requests stay on your domain for better data governance.
Automatic SSL, global CDN, and dashboard integration. Set up once and forget.
Setting up a first-party CMP domain takes just a few minutes:
mycmp.example.com or consent.example.comOnce active, your consent banner tag changes from:
<script src="https://cmp.uniconsent.com/v2/stub.min.js"></script>
<script async src="https://cmp.uniconsent.com/v2/YOUR_ID/cmp.js"></script>
To:
<script src="https://mycmp.example.com/v2/stub.min.js"></script>
<script async src="https://mycmp.example.com/v2/YOUR_ID/cmp.js"></script>
Everything else works exactly the same. No configuration changes, no code updates, no impact on your existing consent data.
Add a single CNAME record at your domain provider:
| Type | Name | Value |
|---|---|---|
| CNAME | mycmp.example.com | consent.preference-center.com |
If additional TXT records are required for certificate validation, they will be shown in the dashboard.
Note: If your domain uses Cloudflare, set the CNAME to DNS only (grey cloud, no proxy).
A first-party CMP domain lets you serve your consent banner from your own subdomain (e.g., mycmp.example.com) instead of the default cmp.uniconsent.com. All consent scripts load from your domain, keeping requests first-party.
Same-origin requests avoid the overhead of cross-origin DNS lookups, TLS handshakes, and connection setup. The browser can reuse existing connections to your domain, resulting in faster script loading.
The install tag on the Settings tab updates automatically when your custom domain becomes active. Simply copy the updated tag and replace the old one on your website.
You need to add a single CNAME record pointing your subdomain to consent.preference-center.com. If certificate validation requires additional TXT records, they will be shown in the dashboard.
Yes. SSL certificates are provisioned and renewed automatically via Cloudflare. No manual certificate management is needed.
Yes, but you must set the CNAME record to DNS only (grey cloud, no proxy). Cloudflare proxy would interfere with the SSL certificate provisioned by UniConsent.
First-party CMP domain is available on the Pro plan and above, as well as for VIP accounts. It is not available on Free, Basic, or Value plans.
Yes. You can remove the custom domain at any time from the Install & Setup tab in the dashboard. Your tag will revert to the default cmp.uniconsent.com domain.
Get started to make your website and application compliant for EU GDPR, US CPRA, CA PIPEDA etc
Sign up