Features Pricing Documentation Blog For agencies Contact
Sign in Try for free
Documentation / Google Tag Manager

Deployment via Google Tag Manager

You can insert the Cookienovo script into the section <head> using Google Tag Manager (GTM) too. Follow the steps below.

Steps

  1. Sign in to your account Google Tag Manager.
  2. Select the container you want to add the code to. If you don't have one, create it via Create account and follow the instructions.
  3. Click the container name to open the main GTM interface.
  4. In the left navigation panel, click Tags (Tags).
  5. Click New (New) and choose the tag type Custom HTML (Custom HTML).
  6. Paste the Cookienovo script into the HTML field.
  7. Set the trigger to Initialization – All Pages, so it loads as early as possible.
  8. Click Save.
  9. In the top right, click Submit (Submit) and then Publish (Publish), for the changes to take effect.
  10. Finally, insert the GTM container code itself into the <head> of your website — just before the closing tag </head>.

After these steps, the Cookienovo script should load correctly via GTM. We recommend testing the implementation and verifying that the banner works.

Google Consent Mode v2: when loading Cookienovo via GTM, our generated script automatically includes inline default consent settings that set the Consent Mode v2 parameters before GTM runs. This ensures compliance even with asynchronously loaded Google tags. The inline script sets ad_storage, analytics_storage, ad_personalization and ad_user_data by default to 'denied', together with wait_for_update:500 for optimal CMP loading.