Back to Guides
Compliance
12 min read

How to Add Cookie Consent to Shopify

Cookie consent is a legal requirement for stores selling to customers in the UK and EU. This guide covers everything you need to implement compliant cookie consent on Shopify.

Flex Commerce Team
Updated February 2024

Common Mistakes

Avoid these frequent errors when implementing cookie consent.

Pre-ticked consent boxes

Consent checkboxes must be unticked by default. Pre-selected consent is not valid under GDPR.

Hidden reject option

Making "Accept" a large button while hiding "Reject" in small text is manipulative and non-compliant.

Firing scripts before consent

Some implementations show the banner but fire tracking immediately. Scripts must wait for explicit consent.

No way to change preferences

Users must be able to change their consent at any time. Include a link to reopen the preference centre in your footer.

Need Cookie Consent Help?

Our team can audit your current setup, implement a compliant consent solution, and ensure your tracking works correctly within privacy regulations.