GDPR/PECR, cookie consent, Shopify and Google Analytics - regulatory and important

GDPR/PECR, cookie consent, Shopify and Google Analytics - regulatory and important

Verdant-Spark
Shopify Partner
100 9 33

I'm really looking for engagement with Shopify staff on this issue as it's been ongoing and appears to have no resolution - though I'm happy to be disabused of this understanding.

 

tl;dr: Shopify stores are all in breach of GDPR/PECR privacy legislation and Shopify must act to correct this before Bad Things happen.

 

For cookies and analytics to be legally compliant in the UK & EU, users MUST opt-in for optional (analytics) cookies and tracking. Currently, this is impossible with Shopify as GA and Pixel codes are entered through store preferences and deployed on the site outwith the theme layout. This is problematic, not least because the UK ICO has stated an increased focus in businesses who are not complying with correct consent for tracking.

 

Cookie compliance will be an increasing regulatory priority for the ICO in the future. However, as is the case with all our powers, any future action would be proportionate and risk-based. Start working towards compliance now - undertake a cookie audit, document your decisions, and you will have nothing to fear.

Sources:

  1. https://ico.org.uk/for-organisations/guide-to-pecr/guidance-on-the-use-of-cookies-and-similar-techno...
  2. https://ico.org.uk/about-the-ico/news-and-events/news-and-blogs/2019/07/blog-cookies-what-does-good-...

This topic has been raised in a few places on different boards, often for various reasons, and so I felt it appropriate to try and unify into one single topic which should be of critical importance to anyone: (i) in the EU and doing business in the EU, and (ii) outside the EU and doing business in the EU. So, pretty much everybody.

 

The blanket silence, wilful ignorance, and usual comment of 'there's an app for this' from Shopify is, quite frankly, astonishing, given the seriousness of the position everyone is being exposed to by their negligence. This is not meant to be taken as a gibe but a statement of fact.

 

Whilst there is a clear interest in merchants being able to track analytics throughout the store, and through checkout to conversion, this must be balanced by the requirement to meet regulations and not be left open for legal action. The potential levels of fine for merchants would close businesses.

 

If there is an infringement of other provisions, such as administrative requirements of the legislation, the standard maximum amount will apply, which is 10 million Euros (or equivalent in sterling) or 2% of the total annual worldwide turnover in the preceding financial year, whichever is higher.

Source: https://ico.org.uk/for-organisations/guide-to-data-protection/guide-to-law-enforcement-processing/pe...

 

Shopify should be acutely aware of this - the repercussions of a successful case against an EU merchant would be a flood of merchants leaving the platform. This would be terrible for merchants, Shopify, and bad for us - as Partners.

 

Simple cookie notice banners are insufficient and not compliant.

 

The requirements for a solution are thus:

 

  • Customers must have the option to opt-in for analytics
  • Merchants must be given the means to control analytics from theme level - this includes Shopify analytics

 

You can see from the ICO's own website that they use a controller produced by a UK company called Civic (https://www.civicuk.com/cookie-control) [we are not affiliated with Civic in any way - we use their controller because they provide a free 'community' licence which is suitable for most use cases]. This controller allows cookies to be enabled and disabled, and call the GA revoke function to clear local cookies. If it's good enough for the ICO then it will be good enough for everyone else. We would normally use the cookie controller as a wrapper to deliver GTM, itself then a wrapper for analytics and various other 'optional' scripts [heatmapping, page activity tracking, etc] - though we can't do that in Shopify due to the lack of access to the Checkout template. Some implementation of this to control cookies and analytics would look to be the way to go. An even better way would be for Shopify to develop a native solution which mimics this functionality so that customers opt-in, and then analytics can be used right through checkout.

 

Shopify must acknowledge this issue and respond - preferably with a roadmap to GDPR/PECR compliance.

 

I'd welcome input from other merchants/partners - this is too big an issue for ignorance to lead everyone down the path to legal action.

Replies 28 (28)

thomasdec
Shopify Partner
5 0 2

After having spent the last couple of days trying to find a solution to this exact problem, I decided to reach out to Shopify support myself.

No need to share the frustration I experienced while trying to find a good solution, though I did get some great news from talking to support: Shopify has a feature in Beta that will allow users to control Cookies from the admin!
You can read about it here: https://help.shopify.com/en/manual/your-account/privacy/cookies

It of course won't block third party cookies, but it does offer the possibility to limit non-essential tracking cookies which is the one thing that third-party apps are not able to fix.
Combine this with the decent ProCookie cookie banner from Onetrust (not affiliated in any way), and you should have a fully GDPR-compliant store.

Hope this helps others in the EU 🙂

jaybee21
Tourist
11 0 9

Hi everyone,

Well, i have read this with interest but wonder now, if and how it is possible to apply a cookie policy that is 100% compliant with the GDPR rules right now, 24 July? It is nice to hear that Shopify is working on a solution and tests a Beta in May 2020, but we are at end of July right now and it still seems impossible to offer visitors an opt-in cookie bar! Which means precisely this:

No single Shop in the EU + UK is compliant with the GDPR rules which took effect on 1 October 2019!

None of the cookie bar add-ons (free or not) in the store are compliant, e. g. this one which many use and THINK it is enough: https://apps.shopify.com/eu-cookie-bar However this is NOT opt-in, but just the normal "got it" banner that is completely useless. Every semi-talented lawyer will have an easy working week sending written warnings to Shopify store owners since then. Honestly, it is 10 month since GDPR is in action and it is nothing short from being entirely unacceptable what Shopify does here.

ProCookie cookie banners or others must offer opt-in so that NO non-essential cookies are being set. However, Shopify sets non-essential cookies which will be delete then. However, setting them even for a short period of time is not compliant. And by the way: Advertising Shopify as GDPR-compliant on the one hand and then forcing shop owners to buy a rather expensive app to "more-or-less"-achieve something that might be compliant is... [you name it].

So will there be any serious option built-in to Shopify for free for every shop owner? If not, we very likely will have to leave this environment rather sooner that later, because Shopify will not pay the bill we might receive, correct?

Verdant-Spark
Shopify Partner
100 9 33

This is correct. We await the revised permissions from Shopify to see where things will fall, and in the meantime make clients aware of the risks and ensure they accept them before starting a Shopify build. It's an entirely unsatisfactory state of affairs, I'm afraid, but this is the world we inhabit.

MaryBourke
Tourist
7 0 0

Hi,

I'm a new Shopify user, about to launch my shop. I'm in Ireland so GDPR compliance is a must. I have spent the morning trying to find a suitable app for the opt-in cookie consent on Shopify and I can't find anything. I have checked the box for "limit tracking for customers in Europe" Thanks thomasdec and I've signed up to One trust for the ProCookie banner. It's going to take a day or two for the registration to go through. 

I have to write my privacy policy, I use FB pixel and google analytics. I have zero tech background, I'm wondering is this enough to comply with GDPR. 

Any input would be much appreciated, 

thanks

Admin2021
Excursionist
15 2 1

The IT industry created lots of interesting functions around GDPR - much of it way over the top, but generated revenue.

Look at this site www.gov.uk  - Question : where is the popup warning that there may be cookies - well it's not there.

Just a 'cookies' link right down at the bottom of the page.

If someone says your site is not compliant ... just refer them to www.gov.uk.

 

PS And it was like this in 2020 when UK was in the EU.

 

Dartisan
Visitor
1 0 0

To correct the above, just in case anybody stumbles on this thread:

The gov.uk site has a very big, fully compliant cookie banner on first arrival to their site. Don't for a second think that simply a link saying 'Cookies' in your footer is going to make your site compliant with the law.

FilipposD
Shopify Partner
45 1 19

A link or a simple bar that says "This site uses cookies" is not compliant, since the user must explicitly opt in to each cookie category.

When it comes to cookies though, Shopify has an option to limit tracking. I don't know if it is on by default, but if Shopify does not track personal identifiable information with this option (and they say they don't), then I don't see how it isn't compliant.

For third party apps like Google, Facebook etc., the person who installs and manages them is responsible.

Pandectes
Shopify Partner
64 1 22

Hello all,

 

we provide the app GDPR Compliance Center which is providing multiple types of banners with opt-in / opt-out / opt-in-out options etc.

 

The most important part is that it provides integrations with:

  1. Shopify’s consent tracking API
  2. Google Consent Mode
  3. Facebook - General Data Protection Regulation
  4. Rakuten Ads - GDPR/CCPA 

Especially with the Google Consent Mode integration, we provide a custom event to GTM so you can easily manage all your third-party scripts from GTM by reading the current consent of the visitor.

 

The same can be done inside the app with the Smart blocker & the advanced rules tool that we offer which can be used for any kind of script you have from external services or other apps.

 

Please let me know if it works by giving it a like or marking it as a solution!
Pandectes GDPR Compliance - #1 GDPR app for Shopify merchants.
Pandectes - 100% Free Cookie Scanner.
Free plan available. Live Chat Support is available 24/7.
jake_mitchell
Shopify Partner
120 2 61

Hi Pandectes, 

This is interesting. Thanks for sharing. I took a look at the demo store. When rejecting all cookies I expected to see only essential cookies when checking in dev tools. However, when cross referencing the cookies present against the cookies list on the demo site I can see that a lot of the analytics cookies are still loaded and a lot of unlisted ones are too. I'd be happy to hear whether I'm getting something wrong here if you're happy to take a look. 

Here's the full list of cookies after rejecting all. 

ValueCategory
_pandectes_gdpressential
_gidNot listed by pandectes
cart_verNot listed by pandectes
_pin_unauthNot listed by pandectes
cart_sigNot listed by pandectes
cartNot listed by pandectes
_shopify_evidsNot listed by pandectes
_gidNot listed by pandectes
_gaNot listed by pandectes
_shopify_mNot listed by pandectes
_uetsidNot listed by pandectes
master_device_idNot listed by pandectes
_shopify_sa_pAnalytics
_sAnalytics
_yAnalytics
_tracking_consentNot listed by pandectes
cart_tsNot listed by pandectes
_gaNot listed by pandectes
_orig_referrerAnalytics
secure_customer_sigessential
_scidNot listed by pandectes
!lithiumSSONot listed by pandectes
lithiumSSO:covpk78932Not listed by pandectes
_shopify_sAnalytics
localizationNot listed by pandectes
_yAnalytics
_shopify_sa_tAnalytics
_biz_pendingANot listed by pandectes
_sAnalytics
_clskNot listed by pandectes
_biz_flagsANot listed by pandectes
_biz_nANot listed by pandectes
_landing_pageAnalytics
_shopify_yAnalytics
_biz_uidNot listed by pandectes
storefront_digestNot listed by pandectes
_ga_69WFXNJXQVNot listed by pandectes
utag_mainNot listed by pandectes
optimizelyEndUserIdNot listed by pandectes
_shopify_evidsNot listed by pandectes
_gcl_auNot listed by pandectes
_shopify_twNot listed by pandectes
_shopify_tmNot listed by pandectes
_shopify_yAnalytics
_clckNot listed by pandectes
_rdt_uuidNot listed by pandectes
__kla_idNot listed by pandectes
_shopify_sAnalytics
_uetvidNot listed by pandectes
_fbpNot listed by pandectes




 

 

Pandectes
Shopify Partner
64 1 22

Hello,

 

when you decline after you have accepted we notify Shopify and we block the other services as well. Some of them may leave their cookies on your browser but on the next page load, these cookies can no longer be used by these services as these services are blocked. Cookies will be removed automatically from the browser in most cases in two days. This is the optimal way because removing cookies that have already been created and are not used anymore doesn't make any sense as this behavior is something that browsers are handling now.

Please let me know if it works by giving it a like or marking it as a solution!
Pandectes GDPR Compliance - #1 GDPR app for Shopify merchants.
Pandectes - 100% Free Cookie Scanner.
Free plan available. Live Chat Support is available 24/7.

Alexey1
New Member
5 0 0

Has anyone found a solution to this?

I understand you can enable Google Analytics in two ways in Shopify:

1. Specify Google Analytics ID in Online Store / Preferences / Google Analytics section in Shopify Admin.

2. Inject Google Analytics tracking code into your theme source code.

Both ways have their advantages and disadvantages, but it seems like none of them will solve the issue with GDPR in full.

If you decide to go for the first option, it is not clear how to disable Google Analytics AT CHECKOUT if a user didn't opt-in for GA (you can still disable GA on all other pages by setting window['ga-disable-UA-XXXXX-Y'] = true as described here: https://developers.google.com/analytics/devguides/collection/analyticsjs/user-opt-out).

If you go for the second option, then you'll have to enable things like Google Enhanced Ecommerce manually in your javascript code, and in addition to that you won't be able to track user's behaviour at checkout even if user's consent to do that has been received properly, as you don't have an access to checkout source code on regular Shopify tariffs (you need to be on a Shopify Plus to be able to do that).  

Pandectes
Shopify Partner
64 1 22

Hello @Alexey1 the solution is only one way and is called Google Consent Mode. Google has already announced the deadline for that here. So before March 2024 all need to be integrated with GCM. This means that you need to load GA on your own either directly on your theme or through GTM or an app like Pandectes GDPR Compliance

 

Please let me know if it works by giving it a like or marking it as a solution!
Pandectes GDPR Compliance - #1 GDPR app for Shopify merchants.
Pandectes - 100% Free Cookie Scanner.
Free plan available. Live Chat Support is available 24/7.

Maxkoa
Shopify Partner
3 0 0

Hey, it is surprising that this discussion started in 2020 and it is still ongoing on 2022.

I wanted to know if I am getting it right. According to this https://help.shopify.com/en/manual/your-account/privacy/cookies.

 

You can currently activate the "Limit tracking to EU" and "Limit tracking to California". Both will automatically limit the tracking to only the necessary cookies and not add Google Analytics or Facebook, and it does not matter whether the user accepts or rejects the cookies, they are disabled (In EU and California).

If you do not limit anything, then Google and Facebook tracking will be enabled, unless user rejects the cookies.

 

Is this how the default shopify system works? 

thomasdec
Shopify Partner
5 0 2

@Maxkoa that is indeed how the Shopify setup works. There is one major problem though: in the EU, the only cookies that are allowed (without a user's consent) are those to ensure the proper functioning of your website. This excludes analytics cookies and that is exactly where Shopify's problem lies.

 

Even with the "Limit tracking to EU" option enabled, the Shopify analytics cookies (i.e. _y, _shopify_y,..) are still enabled meaning your website is not compliant with EU regulations. The user needs to provide explicit approval for these cookies to be enabled and thus needs to be able to reject them. This is still not possible, even when fines starting to be handed out by the EU...

 

Example case here

jake_mitchell
Shopify Partner
120 2 61

At this stage it would be good to know if anyone has actually seen a Shopify store that is compliant with GDPR. 

 

Many plugins sell compliance that is nothing of the sort - banners that tell users cookies are used; tools that don't restrict the cookies used. 

 

But are there actually any stores that are doing this properly?

Does anyone know of any examples?

 

At this stage the worry is that this problem is structural, and whilst accountability sits with merchants this puts Shopify users at risk, which they it seems we are unable to properly mitigate due to platform limitations. 

Maxkoa
Shopify Partner
3 0 0

@thomasdec , so there is currently no way to disable the shopify's analytics cookies? Not even digging into the code?

I found this but I am not sure whether this would limit it. I have not tested it https://shopify.dev/api/consent-tracking?shpxid=d49ef849-4B41-4D74-6976-7D85D5203D5D

thomasdec
Shopify Partner
5 0 2

@jake_mitchell + @Maxkoa there are plenty of solutions out there that block 3rd party cookies, OneTrust being one of the best ones that don't require some app to be installed.

 

There are also plenty of apps out there that sell their solution as "cookie consent compliant" but it is simply not possible today because Shopify doesn't allow control over their internal Analytics cookies. If these cookies would in fact be blocked (as they need to be in order to be compliant), the whole Analytics suite on the Shopify admin would pretty much have to be disabled.

 

As you said Jake, this puts Shopify users at risk and subject to hefty fines. Unfortunately, it is still impossible to comply with EU cookie regulations while using the Shopify platform.

 

I have implemented the consent tracking API option on one of my stores so that I can use an external tool such as OneTrust rather than an app. In no way does it give you control over the internal Shopify analytics cookies. See the screenshot attached for the Shopify analytics cookies still being loaded, even though I've denied all cookies using the tracking consent api.

Screen Shot 2022-03-29 at 11.22.38 AM.png

Pandectes
Shopify Partner
64 1 22

@jake_mitchell @Maxkoa @thomasdec 

The solutions that a store owner has are two:

 

1) Either follow what Shopify provides by using their Consent Tracking API, which is what we do as an app here on the store with our GDPR Compliance Center or

2) Block any script (including the ones that Shopify provides) before the visitor gives the positive consent to be used. This is another option that we also support with our script blocker feature.

 

We have clients that follow the first and others that follow the second solution. It all depends on how you want to apply your policy to your store. 

 

Of course, there are many solutions out there for GDPR like the one you mentioned @thomasdec  but in a specific environment/marketplace like Shopify, where it has specific requirements / APIs, etc, I think the best way is to have something tight to the Shopify technology which is an app from the Shopify store.

Please let me know if it works by giving it a like or marking it as a solution!
Pandectes GDPR Compliance - #1 GDPR app for Shopify merchants.
Pandectes - 100% Free Cookie Scanner.
Free plan available. Live Chat Support is available 24/7.
thomasdec
Shopify Partner
5 0 2

@Pandectes having looked at the demo store that's listed for your app, I can tell you that it does not comply with GDPR guidelines. Even though I rejected all cookies, the internal Shopify analytics cookies were still there on pageload (see screenshot below):

Screenshot 2022-06-21 at 10.11.55.png

 

Shopify's consent tracking API does not comply with GDPR either. It is simply impossible to disable Shopify's analytics cookies so please don't advertise your app like so many others out there saying you are GDPR compliant because you're not. You're providing store owners a false sense of compliance while they are in fact still liable.

Pandectes
Shopify Partner
64 1 22

@thomasdec I completely understand the situation you describe and thank you for your comment but our demo store is not configured to block something because we want to know the traffic it gets as it is not a functional store. We just have it as a demo to present the banner, the cookie details, and the DSR page. DSR page also is not providing any feedback as we don't have products and orders so we don't have customers. 

 

Anyone can try our app for free (even the paid plans that offer a 7days free trial) and see its features and the way we block any script you like and that's why large retail brands have selected our app between all the other options (including external services) and we have been audited by law/tech firms about the capabilities we provide.

 

If you are still not convinced by my sayings, please schedule a call with us here: https://calendly.com/pandectes/30min, and I ensure you that you will be able to see it in action.

 

To close with, there are apps and services that just clear cookies (1st party only). These are still not 100% compliant because technically these cookies, with their information, are stored on the browser - even for some milliseconds - and then the GDPR app removes them. So in the end, you see a store without these cookies. But in reality, the process of these cookies has run and the tracking has taken place.

Please let me know if it works by giving it a like or marking it as a solution!
Pandectes GDPR Compliance - #1 GDPR app for Shopify merchants.
Pandectes - 100% Free Cookie Scanner.
Free plan available. Live Chat Support is available 24/7.
thomasdec
Shopify Partner
5 0 2

@Pandectes I took the opportunity to install the app on my store and check out the trial. Digging into the code, it shows that you store all _shopify_y (Analytics related) cookies under category 1 which are according to your app "fuctionalityStorage" and "personalizationStorage" related.

 

If you were audited by law/tech firms, you will no doubt have received feedback about these cookies being analytics related. As per GDPR guidelines, no cookies are allowed but those that are essential to the functioning of your website such as language preferences or cart sessions. Analytics cookies clearly fall out of that bucket, meaning you are not GDPR compliant.

 

As I said multiple times before, Shopify does not allow you to disable these cookies because they are essential to the functioning of their Analytics suite. There simply is no way to not load them on pageload, period.

Pandectes
Shopify Partner
64 1 22

Hi @thomasdec please check now: https://pandectes.myshopify.com/

You will see these cookies:

Screenshot 2022-06-21 at 4.38.14 PM.png

 

We also have enabled the newest customer privacy option from Shopify that handles what you say.

 

Screenshot 2022-06-21 at 4.38.50 PM.png

 

In general, GDPR is a bit complex process and it needs some sort of configuration in order to make it work properly because the same services (ex. Google Analytics) can be installed in multiple ways on a store. We do our best to support our clients with chat/email to make their store work properly.

Again thank you for your comments because they help us become even better. 

Please let me know if it works by giving it a like or marking it as a solution!
Pandectes GDPR Compliance - #1 GDPR app for Shopify merchants.
Pandectes - 100% Free Cookie Scanner.
Free plan available. Live Chat Support is available 24/7.
Amaury2
Visitor
2 0 0

Hello.

Shopify now offers a native integration of GA4 though the Google Channel App.

We just need to link to the GA4 profile and that´s it

Is there any tool that can block this specific GA4 integration though the Google Channel App (based on the consent from the user) ?

Thanks

Pandectes
Shopify Partner
64 1 22

Hello @Amaury2, on our Pandectes GDPR Compliance app, we offer an auto-blocking service that can do what you describe. You can read more about that here.

Please let me know if it works by giving it a like or marking it as a solution!
Pandectes GDPR Compliance - #1 GDPR app for Shopify merchants.
Pandectes - 100% Free Cookie Scanner.
Free plan available. Live Chat Support is available 24/7.
Amaury2
Visitor
2 0 0

 

hello @Pandectes  Thanks for the quick answer.
I do not see that you mention GA4 integration through Google Channel. Are you really sure this would block GA4 for this kind of integration ? (I did not add any tags or triggers, just cliked on connect to GA4) . Thanks for confirming

Amaury2_1-1680115793807.png

 

Pandectes
Shopify Partner
64 1 22

Adding GA4 to a Shopify store can be done in multiple ways:

 

- from the Google Channel App

- from GTM

- directly on the theme.liquid (GA4 snippet)

- through another app from the app store (like our app)


If you add the GA4 with the Google channel app, then this app is integrated with Shopify's Customer Privacy API. This means that if you select from Store > Preferences > Customer privacy, the 3rd option Collected after consent, then the GA4 is blocked by Shopify until consent is given.

In order to get consent, you will need a GDPR app that is integrated as well with the Shopify's Customer Privacy API

 

Our application is integrated with Shopify's Customer Privacy API and also integrated with Google Consent Mode, which allows you to run GA4 even before consent is given but with limited functionality. This alternative way of Google Consent Mode gives you more data in comparison to the Google Channel App solution but requires you to implement the conversion tracking on your own, as the Google Channel App offers this by default.

Please let me know if it works by giving it a like or marking it as a solution!
Pandectes GDPR Compliance - #1 GDPR app for Shopify merchants.
Pandectes - 100% Free Cookie Scanner.
Free plan available. Live Chat Support is available 24/7.
Mitrodol
Excursionist
29 1 22

Hi ! Thank you for your information.

 

Do you know maybe Shopify has done some changes into the purchase tracking algorithms because of GDPR?

We are encountering too much stores for the last 2 months where the difference between revenue in Shopify admin and GA4 is quite big - 20 - 30 %. We are implementing purchase tracking with own script and GTM.

Some stores where we implemented via Google channel app have even 50 %. 

Can it be connected with GDPR? Some stores does not have cookie policy banner but this difference exists on them. I am thinking of GDPR regulation because purchase has order number in parameters and this is personal data according to GDPR. 

 

here's the topic - https://community.shopify.com/c/shopify-apps/ga4-not-counting-every-purchase/m-p/2115746#M64728

Pandectes
Shopify Partner
64 1 22

Hello, Shopify provides a closed journey for the checkout, and the analytics they generate are not 100% open to us, so we cannot provide any feedback there. 

From the feedback we have from our clients lately, we can verify that they have issues between Shopify and the GA4 analytics in terms of data alignment. 

If we get more feedback from them or from Shopify, we will let you know.

Please let me know if it works by giving it a like or marking it as a solution!
Pandectes GDPR Compliance - #1 GDPR app for Shopify merchants.
Pandectes - 100% Free Cookie Scanner.
Free plan available. Live Chat Support is available 24/7.