Check the installation
Once the snippet is in production, here's how to confirm that everything is in place.
Quick test
- Open your site in an incognito window.
- The consent banner should be displayed within 500ms of loading.
- Accept or refuse. The
plm_consentcookie appears in DevTools → Application → Cookies. - 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=trueCommon errors you might see:
| Message | Cause |
|---|
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.