Join us for an upcoming Shopify Partner webinar on February 27, 2024. Discover the latest Checkout Extensibility features, and deep dive on improvements to Shopify Functions and Web Pixels. Register now for either the 10am EST or 2pm EST sessions.

Shop is not configured to block privacy regulation in online store settings

Dugen
Shopify Partner
11 2 0

I have been following the add a cookie consent guide https://shopify.dev/themes/trust-security/cookie-banner#include-the-snippet and get this error when trying to follow it.

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

  What does this mean, and how would I go about configuring it. The only thing I could find related to it was in the admin was Online store > Preferences > Customer privacy. But that did not seem to affect anything.

 

Am I looking in the wrong place?

Replies 4 (4)

abdullah_shah31
Shopify Partner
4 0 0

Have you figured it out. i am facing the same issue..

 

Dugen
Shopify Partner
11 2 0

Yes, for some reason you can not test this in the Shopify CLI environment. so if you want to test cookies, you need to do it from a non-published theme. 

KarlM1
Visitor
1 0 0

You're in the right place; be sure to choose a non-"Collected before consent" option.

valenstical
Visitor
1 0 0

Make sure the "Collected after consent" box is checked in the Online Store > Preferences

 

Screenshot 2024-01-10 at 6.25.05 PM.png