Troubleshooting Consent Mode installation

This article will help you with finding a problem with your Google Consent Mode

Nelson
Written by NelsonLast update 1 month ago

Follow the steps below to fix your Consent Mode installation:

Troubleshooting installations with Google Tag Manager (GTM):

  1. Make sure you have the latest GTM template that supports the Consent Mode validator (necessary GTM template updates were released on 2024-07-30)

  2. Re-save your banner to make sure your banner supports Consent Mode validator (code updates were released on 2024-07-31)

  3. Validate GTM installation. Go to your CookieScript dashboard > Google Consent Mode, check the checkbox ENABLE GOOGLE CONSENT MODE V2, and press the Validate GTM installation tab. It checks if you use the last version of the GTM template and the GTM is installed correctly. If the GTM installation is not correct, make changes according to the list below, re-save your cookie banner, and validate the GTM installation again.

  4. The CookieScript trigger is set to Consent Initialization (AND there are no other tags in that trigger).

  5. Make sure you have only one CookieScript tag.

  6. Use GTM preview mode to see if consents are fired properly.

Note: If you press Validate GTM installation and get ar error like this, use the following options to fix the problem:

  1. Check if the CookieScript tag has the Consent Initialization trigger and the changes are Published.

  2. Check if you use the latest CookieScript community template. If not- update it.

  3. Open the GTM preview mode (debug mode) and check if the CookieScript tag fires first. If any other tag fires first, the GTM validation will not pass.

Installations with manually added code (gtag) or using plugins:

  1. Re-save your banner to make sure your banner supports Consent Mode validator (code updates were released on 2024-07-31).

  2. For manually added code: Make sure you have included the necessary Google Consent Mode code.

  3. For plugins: make sure you have Consent Mode enabled in plugin settings and latest plugin versions are installed.

Did this answer your question?