How to setup Google Consent Mode

In this guide, we'll walk you through the CookiePal installation using Google Consent Mode (GCM).

1 min read

CookiePal allows you to use Google Consent Mode (GCM) directly. This guide will walk you through the steps to enable and install CookiePal with GCM in your website or application.

1

Sign in to CookiePal

Go to CookiePal and sign in to your account.

2

Get the Installation Code

In your CookiePal dashboard, click on the HTML file icon to get the installation code.

Copy the generated script code to your clipboard.

3

Add the CookiePal Script

Choose the guide for your stack and follow the step-by-step installation instructions: installation guide.

When not using Google Tag Manager for installation, ensure the script is inserted as high as possible in the <head> element to guarantee early execution.

4

Enable Google Consent Mode

Go back to the CookiePal dashboard.

Navigate to Settings and enable Google Consent Mode (GCM).

5

Return to the CookiePal dashboard and check that your cookie banner is active. The status should display as "Active".

Visit your website to confirm the cookie consent banner appears correctly, and that GCM is active and respecting user choices.

6

Advanced mode is enabled by default. You may enable or disable it at any time via Settings → Google Consent Mode → Advanced consent mode.

You can read this guide to better understand the difference between basic consent mode and advanced consent mode: What is GCM?

Was this guide helpful?Thanks for letting us know.
Still stuck?Get in touch and we'll help you get your banner live.Contact us