A Shopify store in Nantes that sells to visitors in France collects consent before it runs analytics or advertising scripts, and it makes refusing as simple as accepting. I am Mariusz Szatkowski, a developer based in Gdynia, and I work with Nantes clients by email and documents. The storefront design comes from me or from you, and I implement either. Whether your tracking setup is lawful is a decision for you and your adviser. I am not a lawyer. What I build is the consent setup that behaves the way the rules describe.

The Loire at the Quai de la Fosse in Nantes. Photo by Duch, licence CC BY-SA 4.0, via Wikimedia Commons.
#Which French law requires cookie consent?
The legal basis is article 82 of the Informatique et Libertés law. The CNIL, the French data protection authority, explains that this article transposes article 5(3) of the ePrivacy directive into French law. In its words, consent must be collected before any operation that writes or reads cookies and other trackers (“avant toute opération d’écriture ou de lecture de cookies et autres traceurs”).
The text of article 82 has been in force since 1 June 2019 in its current form, as amended by Ordonnance 2018-1125, according to Legifrance. It requires the user to be informed clearly and completely of the purpose of the access and of the means to object. The action is allowed only after the user consents. The consent requirement does not apply where the sole purpose is to enable or facilitate electronic communication, or where the action is strictly necessary to provide an online communication service the user expressly requested.
The CNIL page on the legal framework adds that consent must meet the GDPR definition: free, specific, informed and unambiguous.
#What did the CNIL set out in September 2020?
The CNIL adopted amending guidelines and a recommendation on cookies and other trackers on 17 September 2020. It published them on 29 September 2020 under the title “Cookies et autres traceurs : la CNIL publie des lignes directrices modificatives et sa recommandation”.
Three points matter most for a store:
- Simply continuing to browse can no longer count as consent. The CNIL says this “ne peut plus être considérée comme une expression valide” of consent.
- Refusal has to be as easy as consent. The CNIL puts it as “Refuser les traceurs doit être aussi aisé que de les accepter.”
- The controller must be able to show, at any time, that valid consent was collected (“la preuve du recueil valable du consentement”).
The CNIL gave organisations at most six months to comply, until the end of March 2021. That deadline is long past, so the rules are the baseline for any French-facing store today.
The rules cover more than cookies. The CNIL speaks of “cookies et autres traceurs”, so local storage and similar techniques fall under the same logic.
The FAQ on the CNIL site is the most practical page for a developer. It states that a button “tout refuser”, at the same level and with the same look as the button “tout accepter”, is a clear and simple way to refuse. If a store does not offer that button, the FAQ requires another solution that lets the visitor refuse as easily as accept. It also recommends that the refusal be available on the same screen as the consent, not only on a second level.
The FAQ also covers how long a choice can be kept before the visitor is asked again. It says that keeping the choices for 6 months is generally a good practice, that the duration is to be judged case by case, and that it is recommended to record the choice the visitor expressed so as not to ask again.
#Which trackers need no consent?
The CNIL names an exception for trackers strictly necessary to provide an online service the user expressly requested, and for trackers whose only purpose is to enable or facilitate electronic communication. On its guidelines page, it gives authentication and shopping cart memory as examples of trackers exempt from consent.
For a Shopify store this draws a line between two groups:
- trackers that make the store work, such as the cart and a logged-in session
- trackers for analytics, advertising and personalisation, which need consent first
Which side a given script falls on is for your adviser to decide. What the build can do is list every script and cookie the store sets, with its purpose, so that the decision is made on facts.
#How does the Shopify cookie banner work?
Shopify documents the banner in its help centre. The steps:
- Publish a privacy policy first. Shopify says a cookie banner cannot be used without one.
- In the Shopify admin, open Settings, then Customer privacy, then Cookie banner.
- In Regions and content, keep the automated settings or customise them. With automated settings Shopify configures the banner for visitors in the UK and the EEA if the store has active markets there.
- Edit the content, the colours and the position, then save.
The banner may appear on the storefront, the cart, the checkout and the customer account pages in the configured regions. Customers can change their choice later through the banner or the Cookie preferences link, which Shopify places in the policies section and in the footer menu when the banner is not shown on checkout.
Shopify states that new stores get automated privacy settings by default, and that outside configured regions the banner is not active by default. It also states plainly that the automated settings are not a substitute for legal advice, and that “You’re responsible for ensuring your privacy policy is accurate and you comply with applicable laws.”
The Shopify help pages do not describe the button labels of its banner, and they do not say whether Accept and Decline carry the same visual weight. That is exactly what the CNIL FAQ asks about, so it has to be checked on the live banner.
#What does the Customer Privacy API do?
The Customer Privacy API is a browser-based JavaScript API. Shopify’s developer documentation says it applies consent decisions to Shopify-managed surfaces such as pixels, audiences and checkout. Consent has three categories: preferences, analytics and marketing. A fourth signal, sale of data, is enforced independently of consent.
Two rules from the documentation shape the build:
- For regions that are configured to require consent, non-essential purposes are not allowed by default until consent is given. For other regions, the default is to allow all processing purposes.
- Consent should be recorded only on a visitor interaction and never automatically on the visitor’s behalf.
The second rule matches the CNIL position on browsing as consent. A banner that records consent when the visitor scrolls would conflict with both.
Shopify also says that the Shopify pixels operate on the consent obtained. A visitor who declines reduces the data available for analytics and marketing, and Shopify notes that session counts and conversion rates can drop. A store owner should expect that, and not read it as a defect.
The API covers Shopify-managed surfaces. A script that someone pasted into the theme is not on that list, so it has to check consent itself, or it has to be removed.
#What if the store uses a third-party banner?
Shopify allows it. The help page says to install an app from the Cookie Consent category, remove the Shopify banner if the option is available, and select every region where the third-party banner appears. It adds that the consent regions in the Customer privacy settings and in the app must match. If they do not, “non-essential data can be processed before a visitor provides consent.” The documentation also advises naming Shopify in the banner text and linking to a privacy policy that links to the Shopify consumer privacy policy.
Shopify’s developer docs add a note for third-party banners: the developer of the app is the contact for how it works. So the app, not Shopify, answers whether its Refuse button sits at the first level.
#What should the Nantes store setup do?
This checklist follows from the sources above. It is a technical list, not legal advice.
- Publish the privacy policy before the banner goes live.
- Keep France, as part of the EEA, among the consent regions, and confirm the banner appears for French visitors on the storefront and at checkout.
- Check the banner in a clean browser session: a refuse option at the first level, same prominence as accept, no choice pre-set.
- Check that no analytics or advertising cookie is set before the visitor chooses. Open the browser developer tools on the first page view and read the cookie list.
- Check that declining actually stops the scripts, and that accepting starts them. Test both paths.
- Make the Cookie preferences link reachable from every page, so withdrawing is as simple as accepting.
- Move any hardcoded analytics or advertising tag out of the theme and behind consent.
- Keep a list of every cookie and script, its purpose and whether it is exempt, for your adviser.
- Decide with your adviser how long the choice is kept before the banner returns. The CNIL FAQ names 6 months as a general good practice.
- Keep a record of consent where your adviser says proof is needed.
#How does a project run?
- You send the store address, the markets, the apps and tags that run on it, and your deadline through the contact form.
- I write down the scope and my assumptions, with questions on the scripts the store loads and on the banner you use today.
- I build on a development theme and test the consent paths in a clean browser session, then show you the results.
- The change is published after you approve it in writing.
The only access needed is a Shopify staff account that can edit themes and settings. Beyond consent, the Shopify developer page lists what else I build for Shopify stores.
#Send me your store
If your Nantes store sells to French visitors, send me the store address, the markets, the apps and tags it runs and your deadline through the contact form. Which trackers you need, and on what legal footing, is for you and your adviser to decide.