Skip to main content
All CollectionsCookie ConsentGoogle Consent + Tag Manager (GTM)
Resolve "Google Tag has already loaded" errors
Resolve "Google Tag has already loaded" errors
Updated over a week ago

If you've received the error "Google Tag <ID> has already loaded...", this indicates you have a Google Tag (Google Analytics/Google Ads, etc.) loading before the Enzuzo cookie banner.

This can prevent the banner from properly managing user consent, potentially allowing the Google Tag to send user data without consent. To fix it, first determine if you are using our Google Tag Manager community template.

Community Template

If you are using our community template, we recommend moving your Google Tag into Google Tag Manager. Follow the instructions here to add your Google Tag to Google Tag Manager, and ensure that your original copy of the Google Tag is removed from your site, or you may have duplicate data.

Also make sure that your community template is set to trigger on "Consent Initialization" in GTM, and that your new Google Tag is set to trigger on "Initialization - All Pages".

Other Installation Methods

For other installation methods, ensure that the Enzuzo cookie banner occurs before the Google Tag in your site's HTML.

Identify the Enzuzo cookie banner in your site's HTML:


and ensure that it occurs before the Google Tag:

<!-- Google tag (gtag.js) --> 
window.dataLayer = window.dataLayer || [];
function gtag() {
gtag('js', new Date());
gtag('config', 'G-YOURID');
Did this answer your question?