Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
This Google tag should have been loaded before the gtag('event') command was called. Use an on-page gtag('config') command or a Google tag in Tag Manager to load AW-XXXXXXXXXXX when the page loads.
Removed this reply
Same error. Have you found a solution?
Thanks
Miguel
Just wondering if you found a solution for this?
Same question. Any known fix? Prompted me to uninstall and then reconnect my Google Ads account. We'll see what happens this time. But would be much better to know that the error message is bogus or not.
I see the same exact warning in Tag Assistant. I believe the tags are working properly, but seeing this warning is concerning. Did you ever figure out what causes this or if it needs to be resolved?
I'm seeing this issue with a site I support as well.
We have the same warning shown with both Shopify Channel App and Google Ads tags.
Is it causing any actual issues with the tags that you're aware of?
Yes, we are receiving emails from Google stating "Adopt Consent Mode to ensure your ad measurement continues to work".
I had the same issue and I found a solution. I am by no means an expert, so please take my explanation with a grain of salt.
As the google channel app is only creating tags on your website and not managing your Google Tag Manager Containers, the initialization of the container is not set up by the app. This is why you get the warning. Maybe this explanation is completely wrong, but if you just do exactly what the warning states, it fixes the error.
The warning says:
"This Google tag should have been loaded before the gtag('event') command was called. Use an on-page gtag('config') command or a Google tag in Tag Manager to load AW-XXXXXXXXXXX when the page loads."
So go to Google Tag Manager --> Accounts --> *your container* --> Workspace --> Tags --> New --> Google Tag --> insert the Tag-ID that is giving in the warning "AW-XXXX" --> advanced setting --> consent settings --> no additional consent required --> set trigger --> Initialization - All Pages --> save --> reload tag assistant --> reopen page --> no more warning
Best Regards
Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024In today’s interview, we sat down with @BSS-Commerce to discuss practical strategies f...
By JasonH Nov 13, 2024