GTM installation (recommended)

If you are not using Google Tag Manager yet, you need to create an account first and then follow the steps below. It is important that you use GTM and implement all necessary tracking like GA4, tracking pixels, and others through it. Google Tag Manager will be the foundation where all data processing is handled.

1. Create a GTM Container
First things first. You need to set up a Google Tag Manager container and install it on your website. This official Google guide will walk you through the steps.

For WordPress websites, Google offers the Site Kit plugin, which makes it easy to install Google Tag Manager on your site, no coding required.

2. Enable Consent Overview
The Consent Overview page gives you a clear overview of all consent settings across the tags in your container. It also lets you adjust consent settings for individual tags. This feature is not turned on by default in your Google Tag Manager container. You can enable it by following the steps in the official Google guide.

Already have a Google Tag Manager account?
If you already have an account, continue with the steps below.

1. Install Cookie Confirm JavaScript in Google Tag Manager
Create a new tag, select 'Custom HTML', and paste the code below into the custom HTML field. Then, choose the trigger 'Consent Initialization - All Pages' and click 'Save'.

<script>
  (function() {
    var script = document.createElement('script');
    script.src = 'https://assets.cookieconfirm.com/js/banner.js';
    script.type = 'text/javascript';
    script.async = true;
    document.head.appendChild(script);
})();
</script>
Use our Google Tag Manager template (coming soon)
Once the banner is set up the way you want, you just need to install our template called Cookie Confirm CMP in Google Tag Manager. Once you’ve installed the template, all you need to do is select the trigger 'Consent Initialization - All Pages' and save it.