Cookie banner in a Shopify store: what GDPR requires
Updated: 11 November 2026
Almost every store uses analytics and ad pixels, which means cookies that need visitors' consent. Here is what a cookie banner in a Polish Shopify store must have, and the most common mistakes.
When you need consent
Cookies needed for the store to work, e.g. the cart and login, need no consent. Analytics cookies (Google Analytics) and marketing cookies (Meta pixel, Google Ads, TikTok) need consent before they are used. This follows from the GDPR and Polish electronic communications law.
What the banner must have
- A Reject button as visible as Accept all.
- A choice of categories: statistics, marketing, preferences.
- No pre-ticked boxes.
- A link to the privacy policy.
- An easy way to change the decision later, e.g. a small icon at the bottom of the page.
- Analytics and ad cookies only start after consent.
Common mistakes
- A banner with only an OK or Got it button.
- Reject hidden in the settings, while Accept is big and colourful.
- A Meta pixel that loads before the visitor clicks anything.
- No record of consents, so you can't show who agreed.
Connect the banner to Shopify
Shopify has a Customer Privacy API that Google, Meta and other apps use. A banner that passes the visitor's choice to it makes analytics and pixels respect the consent by themselves. Without it the banner is only decoration.
More guides
- Black Friday in a Shopify store: a 2026 checklist
- Christmas shipping deadlines 2026: how to set them and show them in your Shopify store
- Polish sales calendar 2027 for online stores
- BLIK, Przelewy24 and other payments in a Shopify store in Poland
- Gift wrapping in an online store: should you charge for it and how to offer it?
- Higher average order value: 6 ways to sell more to the same customers
- A mailing list for your online store: how to collect email addresses legally
- An AI chat assistant in your online store: is it worth it?
- Selling abroad from a Polish Shopify store: prices in euros and other currencies