AI agent
Connect your store to an AI agent
Law and tax

Cookie banner and GDPR for an online store in the EU

Cookie banner and GDPR for an EU online store: when consent is needed, privacy policy, consent log and erasure requests, set up step by step.

The CloudCart team17 min read
A laptop showing an online store page with an open panel of toggle switches for cookie categories, next to a notebook with tick marks and a small key
In this article · 13 sections
  1. What are website cookies and which ones need consent?
  2. What does GDPR require from an online store?
  3. What is the CloudCart GDPR app and who needs it?
  4. How to set up GDPR in CloudCart step by step
  5. How do I add a cookie banner to my online store?
  6. Google Consent Mode v2 and advertising pixels
  7. What goes into the privacy policy and the cookie policy?
  8. How do you prove which customer accepted what?
  9. How do I handle a data erasure request?
  10. Can an AI assistant work on the store without breaching GDPR?
  11. GDPR best practices for an online store
  12. Mistakes to avoid
  13. Frequently asked questions

In short: under GDPR and the EU cookie rules, an online store may set analytics and advertising cookies only after the customer agrees, must publish a privacy policy, keep proof of who accepted what, and answer access or erasure requests within 1 month. In CloudCart the GDPR app covers all of it: a cookie banner, 5 cookie groups, 4 ready policies, a consent log and a request list.

This guide is for online stores that sell to customers anywhere in the EU, whether you are based in Vienna, Warsaw, Milan or Tallinn. It explains what Regulation (EU) 2016/679 (the GDPR) and the ePrivacy Directive 2002/58/EC require, how member states write the cookie rule into national law, and how each duty is handled in CloudCart. The GDPR applies directly in every member state since May 25, 2018, so the same duties hold for a store in Germany, Italy or Czechia. This is not legal advice: have a lawyer in your country review the final policy texts. Each country has its own data protection authority, and the European Data Protection Board keeps the list of national authorities. Returns are covered in the guide to returns and the 14-day withdrawal right in the EU.

What are website cookies and which ones need consent?

Cookies are small text files a website stores in the browser to remember the cart, the login or the traffic source. Every cookie that is not strictly necessary for the service the customer asked for needs consent first: analytics, advertising, remarketing and embedded third-party services (ePrivacy Directive 2002/58/EC, Art. 5(3)).

The rule also covers pixels, local storage and scripts that read the device. So Google Analytics, Google Ads, Meta Pixel and TikTok Pixel wait for a "yes", while the cart and session work without asking.

Cookie typeExample in an online storeConsent needed?
Strictly necessary (session or persistent)Cart, login, language, the cookie choice itselfNo
Analytics (performance)Google Analytics 4Yes
Advertising and remarketingGoogle Ads, Meta Pixel, TikTok PixelYes
Third-party functionalEmbedded video, external chatYes, if the service sets its own cookies

How member states put the cookie rule into national law

The GDPR is a regulation and applies word for word in every member state. The cookie rule sits in a directive, so each country wrote Art. 5(3) into its own law, usually a telecommunications, electronic communications or ecommerce act, and its own authority enforces it. The core is the same everywhere: clear information first, then consent for anything that is not strictly necessary. Wording, guidance and enforcement priorities differ, so read the cookie guidance of the authority in the country where your company is established.

One example, in Bulgaria: the rule is in Art. 4a of the Electronic Commerce Act, and Art. 6(4) of the same act bans marketing emails to consumers without prior consent. In any EU country the safe default is the same: the newsletter checkbox stays optional and unticked.

What does GDPR require from an online store?

GDPR asks five things of an online store: consent before non-essential cookies, clear information on who processes the data, proof of consent, answers to customer requests and data protection. Each has its own section in the CloudCart GDPR app.

DutyWhere it comes fromWhere it is in CloudCart
Consent before analytics and ad cookiesDirective 2002/58/EC, Art. 5(3), and the national law that transposes itApps → GDPR → Cookies
Who the data controller isGDPR, Art. 13Apps → GDPR → Address and Policy
Proof that the customer gave consentGDPR, Art. 7(1)Apps → GDPR → Acceptance
Easy withdrawal of consentGDPR, Art. 7(3)A cookie settings link in the storefront
Answering access, portability or erasure requests within 1 monthGDPR, Art. 12(3) and Art. 15 to 20Apps → GDPR → Requests

Fines for breaching the core principles can reach €20 million or 4% of annual worldwide turnover, whichever is higher (GDPR, Art. 83(5)), and the data protection authority of the country concerned imposes them. A pre-ticked box is not valid consent: the Court of Justice of the EU ruled so in the Planet49 case (C-673/17) in 2019.

What is the CloudCart GDPR app and who needs it?

The GDPR app is the CloudCart module for personal data protection: it shows the cookie banner, holds back advertising scripts until consent, stores the policies and the consent log, and collects customer requests. Every store with at least one customer in the EU needs it.

The app is in Apps → GDPR, and the pricing page lists "GDPR app and legal documents" among the features; check the app's terms for your plan there before installing. Its tabs are Overview, Settings, Address (company details), Cookies, Policy, Acceptance (the consent log) and Requests. The Enable / Disable button keeps the settings when off, but the banner disappears and advertising scripts start without consent.

How to set up GDPR in CloudCart step by step

GDPR in CloudCart is set up in six steps, and the company details come first. The platform inserts them into the ready policies once, on installation; later changes mean editing the policies by hand.

  1. Prepare the company details. Name, Company registration number (the number from your national business register), Company owner (the managing person), phone and address. Empty fields are accepted, so check them yourself.
  2. Install the app. In Apps, choose GDPR. It creates 4 ready policies and 5 cookie groups with your company details.
  3. Choose a bar or a wall. In Cookies → Cookie Consent Mode, choose Cookie bar or Cookie wall, then write Cookies bar text and Cookies consent text.
  4. Set up the cookie groups. Set Active, Default state, Name and Description, and add the cookies your store uses.
  5. Review the policies. Check the four policies and add your ad and analytics providers, couriers (for example GLS, DHL or Sendcloud) and payment providers (for example CloudCart Pay, Stripe, PayPal or Mollie).
  6. Test the storefront. Open the store in a private window, refuse the advertising group and check the banner and settings link. Repeat on a phone, where the banner must not cover "Add to cart" (more in the guide to the mobile version of an online store). Make a test registration and find it in Acceptance.

The cookie banner in CloudCart is switched on in Apps → GDPR → Cookies, where the Cookie Consent Mode menu offers a bar (Cookie bar) or a wall (Cookie wall). The two modes exclude each other: choosing one turns the other off.

The bar is a strip at the bottom that lets the customer keep browsing; the wall blocks the page until the customer accepts or saves a choice. The European Data Protection Board considers that access to a site made conditional on accepting cookies does not produce valid consent (EDPB Guidelines 05/2020 on consent). For most stores the bar is the safer choice.

The five cookie groups

The customer accepts or refuses a whole group at once.

GroupWhat it is forState on installationRecommendation
Strictly necessarySession, cart, customer loginAlways on, cannot be refusedLeave as is
PerformanceAnalytics, e.g. Google AnalyticsActive, "accepted" by defaultDefault state: off
FunctionalVideo, live chat, language choiceActive, "accepted" by defaultDefault state: off, if third-party cookies
TargetingAdvertising, e.g. Google Ads, TikTok PixelActive, "accepted" by defaultDefault state: off
Google Consent ModeConsent signal to GoogleInactive, "refused" by defaultTurn it on if you advertise on Google

Default state decides what applies before the customer chooses, and three groups start as "accepted", so their scripts run without an answer. Valid consent is a clear affirmative action by the customer (GDPR, Art. 4(11)), and a pre-accepted state is not such an action. Switch it off for analytics and advertising.

What happens when the customer chooses

  • "Accept" accepts all groups.
  • "Save settings" saves the choice per group and clears cookies of refused groups.
  • × only hides the banner on that page; nothing is saved.
  • Partial consent is saved, and the banner keeps reminding until all groups are accepted.

The choice is kept for 365 days, and editing the banner text does not ask again. The banner shows to every visitor, whatever the country, and the app does not detect cookies by itself: you add each one to its group.

Important: the customer must be able to change the choice at any time (GDPR, Art. 7(3)). Check that your theme shows a "Cookie settings" link, usually in the footer; if not, write to support@cloudcart.com.

Google Consent Mode v2 is the signal that tells Google Ads and Google Analytics whether the customer allowed advertising and analytics cookies. For users in the European Economic Area, Google requires consent for remarketing and ad measurement under its EU user consent policy.

In CloudCart, Consent Mode v2 is a separate group in Apps → GDPR → Cookies, switched off by default. It can be switched on only with a subscription to the GDPR app (an older one-time purchase is offered a move to the subscription). Once on, the store passes the choice to Google Ads, Google Analytics and Floodlight.

A refused group also stops connected apps: Google Analytics, Google Tags, TikTok Pixel and Facebook Comments check the choice before they start. Connecting the tools is covered in the guides to GA4 and Google Tag Manager and Google Ads for an online store. SSL, backups and two-factor login are on the domain, SSL and GDPR page and in the guide to domain, SSL and team security.

What goes into the privacy policy and the cookie policy?

The privacy policy states who processes which data, why, on what legal basis, for how long, who receives it and how customers exercise their rights (GDPR, Art. 13). The cookie policy lists each group and cookie with its purpose and duration.

On installation CloudCart creates 4 policies in the store's language (Bulgarian, English, Romanian, Greek, Hungarian or Macedonian; any other language gets English text) and attaches them to forms. A store in German, Polish, Italian or Czech therefore starts with English texts: translate them before the first order, because the customer must get the information in clear, plain language (GDPR, Art. 12(1)). If you run a separate store per country, each with its own language and currency, check the policies and cookie groups in each one.

PolicyWhere it appearsRequired or optional
Privacy policyRegistration and order checkoutRequired
Terms and conditionsRegistration and order checkoutRequired
Consent to processing personal data (marketing)Registration, checkout and the newsletter pop-upOptional
Cookie policyA separate page in the storefrontInformational

Any policy can go on any of five forms (registration, contact, checkout, newsletter pop-up, re-acceptance pop-up), as required or optional. In the cookie policy text, place {cookies_table}: at that spot the storefront shows a table of the groups and cookies you entered.

Accepting the marketing policy gives the customer marketing consent in their profile, and the subscriber list and email apps follow it. How to collect consent for emails is in the guide to email marketing for an online store.

For customers who registered before the app, turn on the re-acceptance pop-up in Settings (show_policies_popup): a logged-in customer with no record sees it after login.

How do you prove which customer accepted what?

Proof of consent in CloudCart is the log in Apps → GDPR → Acceptance: each row shows which customer accepted which policy, when and from which form. For every row the IP address and device are also kept.

The platform keeps the exact policy version the customer saw, so editing a policy does not change old records. Records cannot be edited or deleted, even after an erasure: only the profile data is removed and the fact of consent stays. The log is searched by email, and Export downloads an Excel file after a two-step verification code; above 500 records it is prepared in the background.

How do I handle a data erasure request?

A data erasure request is handled in Apps → GDPR → Requests, and you answer the customer within 1 month of receiving it. The deadline can be extended by 2 more months for complex or numerous requests, if you inform the customer within the first month (GDPR, Art. 12(3)).

The same deadline applies in every member state; Your Europe also notes that the customer pays nothing to file a request. Customers file requests from the /gdpr page in the storefront:

Type in the listWhat the customer asks forWhat you do
infoWhat data you hold (Art. 15)Send the data
downloadTheir data in a file (Art. 20)Send CSV, JSON or XML
deleteErasure of the data (Art. 17)Erase profile data; invoices stay
marketing_unsubscribeOpting out of marketingStop marketing emails
  1. Check who is asking. The request must come from the account or the registered email, or you may wipe a real customer's profile.
  2. Carry out the action in the customer's profile. In Customers, remove the name, email, phone and addresses, or use Delete customer. There is no undo, so do it last.
  3. Keep what the law requires. Invoices and orders stay for the period your national accounting and VAT rules set, as GDPR Art. 17(3)(b) allows.
  4. Mark it processed and reply by email. The platform does not notify the customer, so tell them what you did.

Important: the list has no 1-month counter. Open Requests at least once a week and watch the submission date.

Requests by email or phone do not enter the list; track them with the same deadline. How the customer profile is managed is in the guide to customers and CRM in CloudCart.

Can an AI assistant work on the store without breaching GDPR?

An AI assistant such as Claude Code, ChatGPT Codex or Gemini CLI can work on a CloudCart store in line with GDPR if it sees only the data the task needs. Access is set by a PAT (Personal Access Token) created in Settings → PAT tokens, with permissions per resource.

GDPR requires data to be "limited to what is necessary" (Art. 5(1)(c)), and an outside service processing customer data for you is a processor that needs a contract or accepted terms (Art. 28). Check the AI provider's terms before giving it access to customers.

Task for the agentAccess in the PAT tokenDoes it see personal data?
Products, prices, stock, blogCustom Permissions: Products, Inventory, BlogNo
A subscriber segment for a campaignCustomers: ReadYes

Custom Permissions set None, Read or Read & Write for each of 8 resources; Customers covers customers, groups and subscribers. A token can have an expiry date and up to 20 allowed IPs, and deleting it cuts access at once. More on permissions is in the guide to the PAT token and the AI agent's permissions.

GDPR best practices for an online store

A well set up GDPR app keeps the store clear of fines and its advertising measurable.

  • Enter company details before installing. They go into the policies only once.
  • Switch Default state off for analytics and advertising. Scripts then wait for a "yes".
  • Prefer the bar to the wall, in line with the EDPB view on conditional access.
  • Describe every cookie. The platform does not scan the site, so add the cookies of each new ad or chat app.
  • Turn on Consent Mode v2 if you advertise on Google.
  • Handle requests weekly. The platform sends no reminder of the 1-month deadline.
  • Check each store separately. GDPR settings are not copied between stores.

Mistakes to avoid

  • Disabling the app for a "cleaner" storefront. The banner disappears and ad scripts start without consent.
  • An inactive required policy. Its checkbox does not appear, even if the policy is attached to the form. Check its status in Policy.
  • Reinstalling the app. The log and requests stay, but policies and cookie groups return to the defaults and the cookies you added are lost.
  • New company details, old policies. Changing Address does not rewrite existing policies.
  • Pre-ticked marketing consent, which is not valid consent.
  • Deleting orders on request. Accounting documents stay; only profile data is erased.

Frequently asked questions

Yes, whenever the store sets cookies that are not strictly necessary, such as Google Analytics, Google Ads or TikTok Pixel. They need prior consent under the ePrivacy Directive (Art. 5(3)) and the national law of each member state that transposes it. Cart, session and login cookies need none.

Install the GDPR app, choose Cookie bar or Cookie wall under Cookies → Cookie Consent Mode, write the Cookies bar text and set up the five groups. The banner shows on the next page load.

Who the controller is, which data you collect, why and on what legal basis, how long you keep it, who receives it (couriers, payment services, advertising) and how customers exercise their rights. CloudCart creates a ready policy with your company details for you to complete.

In CloudCart the customer's choice is kept in their browser for 365 days. After that the banner shows again. The customer can change the choice at any time from the cookie settings link in the storefront.

Yes, if you advertise on Google Ads or measure EEA visitors with Google Analytics, because Google requires a consent signal for remarketing and ad measurement. In CloudCart it is a group in GDPR → Cookies, available with an app subscription.

Each member state has a national data protection authority that handles complaints, checks and sanctions, for example the Österreichische Datenschutzbehörde in Austria or the Commission for Personal Data Protection in Bulgaria; the EDPB lists them all. Customers can complain to the authority where they live, even if your store is based elsewhere. For breaches of the principles and customer rights the fine can reach €20 million or 4% of annual worldwide turnover, whichever is higher (GDPR, Art. 83(5)).

Sales on CloudCart carry 0% commission (ecommerce with zero commission), and payment, policies and consents sit on one step of the checkout. Create your store for €1 and set up the banner and consent log before the first order. Questions about the GDPR app? Write to support@cloudcart.com.

Sources

  1. Regulation (EU) 2016/679eur-lex.europa.eu
  2. ePrivacy Directive 2002/58/ECeur-lex.europa.eu
  3. the list of national authoritieswww.edpb.europa.eu
  4. Planet49 case (C-673/17)curia.europa.eu
  5. EDPB Guidelines 05/2020 on consentwww.edpb.europa.eu
  6. Your Europeeuropa.eu
The CloudCart teamChecked against the platform documentation. Questions: support@cloudcart.com

Build your online store

The first 3 months on every plan are €1/month. Questions: support@cloudcart.com

Create a store for €1