Check the installation

Once the snippet is in production, here's how to confirm that everything is in place.

Quick test

  1. Open your site in an incognito window.
  2. The consent banner should be displayed within 500ms of loading.
  3. Accept or refuse. The plm_consent cookie appears in DevTools → Application → Cookies.
  4. Reload the page: the banner does not reappear, the floating button at the bottom left is visible.

DevTools Console

With data-debug="true", Palladium logs all key operations:

[Palladium] queue: drained /api/consent
[Palladium] consent saved · acceptAll=true

Common errors you might see:

data-site attribute missingThe tag has no data-site.site_not_foundThe siteId does not exist in the console.origin_mismatchPage hostname ≠ hostname registered for this siteId.domain_pausedThe domain is paused in the console.
MessageCause

Programmatic verification

From any script on your site:

window.Palladium.ready.then((config) => {
  console.log('Palladium ready', config.siteId, config.lang);
});

// Current state:
const consent = window.Palladium.getConsent();
// → { necessary:true, statistics:false, marketing:false, ts:1714... }

// Targeted check:
if (window.Palladium.isAllowed('statistics')) {
  // initialize GA / Plausible / etc.
}

Endpoint API

You can test directly:

curl https://console.palladium-cookies.com/api/consent/plm_a9f4e2c7b3

A 200 response with JSON { siteId, ui, theme, categories, … } confirms the domain is active.