Have your say in Community Polls: What was/is your greatest motivation to start your own business?

Tag assistant error with google and youtube app

Tag assistant error with google and youtube app

sanjaysankara
Visitor
1 0 2
I'm using "Google and Youtube" app in shopify standard and have integrated - GA4, Google Ads and Merchant store with it. But when I use tag assistant, despite the tags been fired, I see this message inside (screenshot attached).
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.
Since shopify keeps changing its integration and the ways to implement scripts to its pages, didn't want to risk GTM breaking by adding it to the page.

That's why I've left most of the tools with shopify's default integration. Migrating to GTM would lead to most of the events to being tracked manually and its not the effort the client is looking for right now lolCan you guys tell me how to circumvent this situation with tag assistant? Any thoughts to improve this shopify and google marketing tools integration situation?
image.pngP.S: The only script I've integrated to the page is that of Iubenda CMP with auto-blocking. Thanks a lot 

 

Replies 10 (10)

Timed_Ecom
Shopify Partner
39 1 13

Removed this reply

mrcardenosa
Shopify Partner
3 0 2

Same error. Have you found a solution?

 

Thanks

 

Miguel

cocobutter
Shopify Partner
15 0 9

Just wondering if you found a solution for this?

Pets52-Dave
New Member
4 0 0

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.

 

Screen Shot 2024-07-09 at 5.14.41 PM.png

flyingL123
Shopify Partner
4 0 3

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?

robmosher
Visitor
2 0 1

I'm seeing this issue with a site I support as well.

Rneer
Visitor
1 0 2

We have the same warning shown with both Shopify Channel App and Google Ads tags. 

flyingL123
Shopify Partner
4 0 3

Is it causing any actual issues with the tags that you're aware of?

robmosher
Visitor
2 0 1

Yes, we are receiving emails from Google stating "Adopt Consent Mode to ensure your ad measurement continues to work".

SeverinT
Visitor
2 0 1

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