Shop is not configured to block privacy regulation in online store settings - but it is.

Solved

Shop is not configured to block privacy regulation in online store settings - but it is.

SaaSQuadrat
Shopify Partner
24 3 3

Hi,

 

I have written a cookie banner for a theme and have added the activation of consent following the Shopify documentation: https://shopify.dev/docs/themes/trust-security/cookie-banner In the Admin I have set the Customer privacy to Collected after consent.

 

But when I execute

window.Shopify.customerPrivacy.setTrackingConsent(
      {
        analytics: true,
        marketing: true,
        preferences: true,
        sale_of_data: true,
      },
      hideBanner
    );

I still geht the message: index.ts:215 Shop is not configured to block privacy regulation in online store settings.

 

Also reading the Customer Privacy API documentation did give me more insights.

What have I missed?

Andreas Scheucher - SaaSQuadrat - Software developer of > 20 years & former Shopify merchant of > 5 years
• Shop with > 250.000 product variants? • GPDR compliant shops? • Inhouse stock, print on deman, 3PL / third party logistics? • Theme adoptoins? • Custom integrations?
Been there, done that. Here to help you get up and running.
Accepted Solution (1)

SaaSQuadrat
Shopify Partner
24 3 3

This is an accepted solution.

Obviously the response is the default for calling it when run with 

 

shopify theme dev

 

Needs to be called from an installed theme...

 

Andreas Scheucher - SaaSQuadrat - Software developer of > 20 years & former Shopify merchant of > 5 years
• Shop with > 250.000 product variants? • GPDR compliant shops? • Inhouse stock, print on deman, 3PL / third party logistics? • Theme adoptoins? • Custom integrations?
Been there, done that. Here to help you get up and running.

View solution in original post

Reply 1 (1)

SaaSQuadrat
Shopify Partner
24 3 3

This is an accepted solution.

Obviously the response is the default for calling it when run with 

 

shopify theme dev

 

Needs to be called from an installed theme...

 

Andreas Scheucher - SaaSQuadrat - Software developer of > 20 years & former Shopify merchant of > 5 years
• Shop with > 250.000 product variants? • GPDR compliant shops? • Inhouse stock, print on deman, 3PL / third party logistics? • Theme adoptoins? • Custom integrations?
Been there, done that. Here to help you get up and running.