Skip to main content
Docs/Publisher/CMP Install

Install the CMP

The CMP (Consent Management Platform) is the consent banner your visitors see. It captures TCF v2.2 consent strings so SIE can lawfully process intent signals. This guide takes ten minutes.

What you'll learn

  • Where to drop the script tag
  • How to verify the consent banner renders correctly
  • How to confirm signals are firing in analytics
  • How to customize colors and copy

Step 1: Copy the script tag

Open Publisher → CMP and copy the snippet. It will look like this — the channel ID is unique to your account:

html
<!-- SIE CMP - place in <head>, as high as possible -->
<script
  async
  src="https://cdn.siedata.dev/cmp/v1/loader.js"
  data-channel="ch_YOUR_CHANNEL_ID"
></script>

Step 2: Place it on every page

Drop the script in <head> as high as possible. For WordPress, use the Insert Headers and Footers plugin. For Next.js, add it to your root layout. For Shopify, paste it in Theme → Edit code → theme.liquid just inside <head>.

Step 3: Verify the banner

Open your site in a fresh incognito window. The consent banner should appear within 1 second. Click Accept and check the dashboard — the green “CMP detected” pill flips on within a minute.

In the dashboard, the verification panel shows: page loads, banner impressions, accept rate, decline rate, and TCF string presence.

Step 4: Confirm signals are firing

Browse your own site for a few minutes — view a few articles or product pages. Then open Signals → Live feed. You should see fresh entries within 10 minutes. If you don't, run the diagnostic at Publisher → Diagnostics.

Customize the banner

Under CMP → Style you can:

  • Match your brand colors
  • Set logo and favicon
  • Choose banner position (bottom bar, modal, slide-in)
  • Adjust copy in 18 languages
  • Add a privacy policy link

Analytics

The CMP fires cmp_shown, cmp_accepted, and cmp_declined events to window.dataLayer, so GTM and GA4 pick them up automatically.

What's next?