direct
Hardcoded Runtime
The Hardcoded Runtime is for websites where you want CleanCMP loaded directly from the page source instead of through GTM.
What it does
You place the CleanCMP script early in the page head. It loads the published site config, shows the banner when needed, stores choices, and can send Google Consent Mode updates directly.
Why it matters
Some websites need consent defaults before GTM or other scripts load. A direct script gives more control over source order and can still work with a GTM bridge when needed.
How to use it
Copy the site-specific install snippet from Admin, place it early in the page head, publish the config, then test that the banner and consent updates load before optional tracking.
What you get
- Install outside GTM
- Load early in the page
- Use with direct scripts
Use Hardcoded Runtime in CleanCMP
CleanCMP includes this feature in the same workspace as the scanner, banner builder, Consent Mode v2 mapping, reporting, and publish history.
Create account