WeDPO CMP

Cookie Consent Manager · EDPB Cookie Banner Taskforce compliant · spec v1.0

Hosted snippet

Drop these three tags into the <head> of every page on the client origin. The snippet reads the tenant's configuration from our backend on first request and caches it at the edge for 5 minutes.

<!-- Google Consent Mode v2 default state (denied until user consents) -->
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){ dataLayer.push(arguments); }
  gtag('consent', 'default', {
    analytics_storage: 'denied', ad_storage: 'denied', ad_user_data: 'denied',
    ad_personalization: 'denied', functionality_storage: 'denied',
    personalization_storage: 'denied', security_storage: 'granted'
  });
</script>

<!-- WeDPO CMP -->
<link  rel="stylesheet" href="https://cmp.wedpo.com/v1/cmp.css?tenant=YOUR_TENANT_ID">
<script src="https://cmp.wedpo.com/v1/cmp.js?tenant=YOUR_TENANT_ID" defer></script>

Routes

GET /v1/cmp.js?tenant=<id> — tenant-specific banner logic + inlined CMP_CONFIG
GET /v1/cmp.css?tenant=<id> — base stylesheet + tenant theme overrides
GET /v1/download/wedpo-cmp-1.0.zip — self-host artefact for enterprise clients

Self-hosted (enterprise)

If you cannot embed a third-party script, download the bundle and serve it from your own origin. Deployment instructions are in the README inside the zip.

More

See wedpo.com/cmp/install for the full installation guide and to provision a tenant.