First-Party CMP Domain

Serve your consent banner from your own domain. Better performance, better privacy, zero maintenance.

Why First-Party CMP Serving Matters

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.

Performance

  • Faster page loads with same-origin script loading
  • No cross-origin overhead for DNS lookups, TLS handshakes, or connection setup
  • Browser caching works more reliably on your own domain

Privacy & Compliance

  • All requests stay on your domain for better data governance
  • No third-party requests before consent is collected
  • Improved trust signals for privacy-conscious users and auditors

Reliability

  • Independent from external services for consent banner delivery
  • Your domain, your uptime with enterprise-grade SSL via Cloudflare
  • Consistent performance regardless of third-party CDN status

Faster Loading

Same-origin requests load faster with no cross-origin overhead.

🔒

Your Domain

All consent requests stay on your domain for better data governance.

Zero Maintenance

Automatic SSL, global CDN, and dashboard integration. Set up once and forget.

How It Works

Setting up a first-party CMP domain takes just a few minutes:

  1. Choose a subdomain such as mycmp.example.com or consent.example.com
  2. Add a CNAME record in your DNS settings pointing to our infrastructure
  3. SSL is provisioned automatically with no manual certificate management
  4. Your install tag updates automatically to use your custom domain

Once 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.

Setup Requirements

  • Pro plan or higher (or VIP account)
  • Access to your domain's DNS settings
  • A subdomain that is not already in use

DNS Configuration

Add a single CNAME record at your domain provider:

TypeNameValue
CNAMEmycmp.example.comconsent.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).

What You Get

  • Automatic SSL certificate provisioning and renewal
  • Global CDN delivery via Cloudflare edge network
  • Zero maintenance after initial DNS setup
  • Dashboard integration with automatic tag updates
  • Remove at any time and revert to the default domain

Frequently Asked Questions

What is a first-party CMP domain?

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.

How does first-party serving improve performance?

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.

Do I need to change my existing consent tag?

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.

What DNS records do I need to add?

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.

Is SSL included?

Yes. SSL certificates are provisioned and renewed automatically via Cloudflare. No manual certificate management is needed.

Can I use this with Cloudflare?

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.

Which plans support first-party CMP domain?

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.

Can I remove the custom domain later?

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.

Microsoft certified CMP - UniConsent CMPIAB certified CMP - UniConsent CMPIAB TCF V2 certified CMP - UniConsent CMPIAB TCF Canada certified consent manager - UniConsent CMPGoogle-certified CMP Gold tire - UniConsent CMPGoogle-certified CMP partner
Trusted by 5000+ of global publishers and marketers
  • sej
  • football365
  • sharethrough
  • districtm
  • pf1
  • tower cast

Get started to make your website and application compliant for EU GDPR, US CPRA, CA PIPEDA etc

Sign up