How to switch off the consent mode set up in Shopify

Yikai_Wang
Tourist
3 0 8

We want to use GTM to implement consent mode v2 and the rest of the GA implementation. We have disconnected GA, but can still see Shopify is setting consent default and updates from Shopify. This messed up our GTM side of consent mode settings so we need to remove it. But I can't find anywhere within Shopify I can do it. 

 

It's this  file that is causing the headache. Where can I deactivate this? 

Yikai_Wang_0-1710325921695.png

 

 

Replies 11 (11)

analytic_wlfdn
Shopify Partner
5 0 4

I am also seeing these issues across all accounts, I think there was a very recent update that automatically enforces this. It is a notable concern as if you are using a custom consent system Trekkie can override you Consent Mode defaults by setting the flags to "granted" even if you've already set them to "denied" - not respective user privacy and putting company's at risk of not being compliant.

 

I have reached out to support but not heard anything back as of yet.

MaximeBel
Visitor
2 0 1

Same here..we are stuck

analytic_wlfdn
Shopify Partner
5 0 4

Support hasn't been able to assist so far, which is not great for a feature that is clearly breaking compliance.

"We are not a development team, and this request would also fall outside the realm of our technical teams as well."

analytic_wlfdn
Shopify Partner
5 0 4

Depending on your set up you might get somewhere with the Customer Privacy JS API 

 

For a few sites I found setting the following command immediately in the header stopped any Consent Mode defaults being defined by Shopify's Trekkie system, and then allowed me to set my own values as required. However, on one site it stopped any GA4 hits being sent and I'm just trying to debug that one, strangely as it is all controlled via hard coded GTM so I'm not sure what's blocking it.

 

window.Shopify.customerPrivacy.setTrackingConsent(false, function(){});

 

Yikai_Wang
Tourist
3 0 8

Thanks so much, we'll give it a go. We see this in several accounts now, which is super annoying! I thought this could at least be configured rather than with no option to turn it off! That's mad..

thahn
Shopify Partner
7 0 3

I think this stops all tracking for Shopify Apps that integrate with the Shopify Consent API. Probably not a good idea

analytic_wlfdn
Shopify Partner
5 0 4

Good point, it will stop the apps / pixels from operating!

thahn
Shopify Partner
7 0 3

I hope Shopify sees this thread. This is a big issue at the moment

Yikai_Wang
Tourist
3 0 8

Is there any way to flag this with their tech team? The past few weeks have been all about consent mode, this is a very damaging issue as Google detects consent mode being implemented 'incorrectly' and will start switching some of the google ads features off. If it is a issue affects everyone, they really need to act as soon as possible!

cbgrafikr
Visitor
1 0 0

If you have previously set up Google Analytics UA through Online Store > Preferences and not removed the UA id as well as the checkmark in Enhanced Ecommerce, it will trigger a default consent event.
Removing the UA ID and the Enhanced Ecommerce checkmark will fix that.

Mitrodol
Excursionist
25 1 20

The solution would be to turn off this option below inside Shopify's "Google & Youtube" app.

 

Mitrodol_0-1713894695593.png

Basically, you even can leave the Merchant Center connected inside this app.

If you need you can switch conversion tracking manually to GTM.

Also, for sanity inside the MC account removed the conversion source created by the Shopify app and just linked the GA4 property instead.

 

Mitrodol_1-1713895078937.png

 

Previously, encountered the same issue, installing on a couple of Shopify stores GCM with CookieBot and these unwanted gtag consent signals.
GA4 tracking itself had been moved to GTM and turned off in the "Google & Youtube" app. 

The Merchant Center when connected also had its own Google Tag installed.