A Shopify store that sells to customers in Belgium sets cookies the moment a page loads: sessions, a cart, analytics, ad pixels. Belgian law allows the non-essential ones only after consent. I am Mariusz Szatkowski. I live in Gdynia, I have worked with WordPress since 2006 and handle Shopify work remotely and in writing. The shop owner and the data protection adviser decide the legal position, and I am not a lawyer. I set up the banner, wire the consent state into the pixels and test what is really set before a visitor clicks.

Gravensteen in Ghent. Photo: Trougnouf (Benoit Brummer), CC BY 4.0, Wikimedia Commons.
#Which Belgian article governs cookies?
Many Belgian cookie texts still cite article 129 of the law of 13 June 2005 on electronic communications. That article is gone. The consolidated text on ejustice.just.fgov.be shows article 129 as repealed by the Act of 21 December 2021 (article 173), with entry into force on 10 January 2022.
The rule now sits in article 10/2 of the Belgian framework law of 30 July 2018 on personal data protection (the full title speaks of the protection of natural persons with regard to the processing of personal data). The consolidated text on ejustice.just.fgov.be says the article was inserted by the same Act of 21 December 2021 (article 256), also applicable since 10 January 2022. It applies in implementation of article 125, section 1, point 1 of the 2005 law and without prejudice to the GDPR.
In plain terms, the article says this:
- Storing information on the device of a subscriber or user, or reading information already stored there, is allowed only on two conditions.
- The person gets clear and precise information about the purposes of the processing and their rights.
- The person has given consent after receiving that information.
- Neither condition applies to storage or access whose sole purpose is to carry a communication over an electronic communications network, or to provide a service the user explicitly asked for, when it is strictly necessary for that.
The law covers more than cookies. The checklist of the regulator says the term cookies stands for all tracking mechanisms under the broad wording of article 10/2: pixels, device fingerprinting, local storage and tracking in apps.
#What does the Belgian authority expect from a cookie banner?
The Belgian Data Protection Authority (Gegevensbeschermingsautoriteit, GBA, in French Autorite de protection des donnees, APD) published a cookie checklist, dated October 2023 in the file metadata of the checklist PDF. The checklist says itself that its list is not exhaustive, that it is a tool, and that nothing in it counts as a new obligation. It is written in Dutch. The items that matter for a store:
| Topic | What the checklist says |
|---|
| Before consent | No non-essential cookies are placed or read before valid consent |
| Free choice | No cookie wall. No accept-all button without a reject-all button for non-essential cookies on the same layer. No deceptive design such as nudging with colour |
| Specific consent | At the latest in a second layer, consent per purpose. Clear categories. Own advertising or profiling and third-party use are separate purposes. Sharing on social media and personalised ads are other purposes |
| Informed consent | The first layer names the purposes briefly, the entities responsible, how to accept or refuse, the consequences and the right to withdraw. A lower layer lists every cookie with purpose, duration and recipients |
| Active consent | No consent from scrolling, closing the banner or any inactivity. No pre-ticked boxes. No bundling with terms and conditions or a privacy policy. No consent read from browser settings |
| Withdrawal | As easy as giving it, for example a visible link or button, and withdrawal must actually work, not only stop future placement |
| Accountability | Consent preference cookies kept for a limited time, six months being reasonable in principle. Keep earlier versions of the banner and give the cookie policy a date and a version number |
Two points in the checklist decide a lot of store setups. First, it says a button for managing settings next to an accept-all button is not enough, with a footnote pointing to earlier regulator guidance. Second, the strictly necessary list includes, as examples to check, load balancing session cookies and cookies that keep the language choice, the cookie preferences or the content of the shopping cart. A footnote on visitor counting says that counting visitors in principle does not fall under that exception, and adds that some supervisors in other member states take a different position under strict conditions. For Belgium, plan on consent for analytics.
#What did the authority decide in practice?
Decision 85/2022 of the Litigation Chamber of 25 May 2022 concerns the media sites of Knack and Le Vif (Roularta Media Group), as the decision states. It cites article 129 of the 2005 law because that article applied to the facts at the time. The operative part imposes an administrative fine of 50,000 euro and orders the company to bring the processing into line within three months.
Findings in the decision that map onto a store setup:
- The inspection service counted 66 cookies on Knack and 60 on Le Vif placed before the visitor could consent, among them 48 and 44 third-party cookies. Only two cookies on each site were found strictly necessary.
- Statistical cookies were loaded without consent.
- Pre-ticked boxes were used for partners.
- Withdrawal failed. On one site the management tool froze with a black screen. On the other, the number of cookies did not fall after the visitor went back to the minimal choice. The company said a bad configuration of its consent tool caused the problem.
The lesson is about testing, not about one vendor: a banner that looks right can still leave third-party cookies running, and a withdrawal button that does nothing counts against you.
#How does Shopify handle consent?
Shopify documents an automated cookie banner. According to its privacy settings page:
- With automated settings, Shopify configures the banner for visitors in the UK and EEA regions when those are active markets. Regions can be set manually.
- In configured regions, non-essential data is collected only after consent. Visitors can change their choice through the banner or a Cookie preferences footer link.
- Appearance can be adjusted: colours, position, content.
- With a third-party banner, the same consent regions must be used in Shopify privacy settings and in the banner tool. If the regions do not match, Shopify warns that non-essential data can be processed before a visitor gives consent.
The page does not describe the buttons of the banner or the default state. That is the gap to close by testing, because the Belgian checklist is specific about buttons.
The Customer Privacy API is the technical layer. It is a browser JavaScript API that records consent and applies it to Shopify-managed surfaces such as pixels, audiences and checkout. Its documentation says:
- Consent is recorded with
setTrackingConsent, and only in response to a visitor action such as accepting or declining a banner. - Developers should not read or modify Shopify cookies directly.
- The methods
analyticsProcessingAllowed(), marketingAllowed() and preferencesProcessingAllowed() combine merchant settings, location and consent. They are the right check before processing. - In regions set to require consent, non-essential purposes are not allowed by default until consent is given.
#What do I set up in a Ghent store?
- Region and banner. Belgium is part of the EEA, so the automated banner covers it when the market is active. If a third-party banner is used, I match the regions in both places.
- Buttons. I check that accept and reject sit on the first layer with equal weight, that settings open a second layer with purposes, and that nothing is pre-ticked. If the Shopify banner cannot meet that, the answer is a different banner built on the Customer Privacy API, which I can implement.
- Hand-added code. Scripts pasted into the theme, such as an ad pixel or a heatmap, bypass the consent settings unless they are gated. I wrap each one in the matching check (
analyticsProcessingAllowed() or marketingAllowed()) or move it to a mechanism that respects consent. - Languages. The banner text and the cookie list exist in each language the storefront serves. The regulator publishes in Dutch and French, and a Ghent shop often serves both, so text and cookie names are checked in each.
- Cookie list. Each cookie with purpose, duration and recipient, for the lower layer. I produce the technical half from a scan of the live store, and the shop owner or adviser writes the purposes and the legal text.
- Withdrawal. A Cookie preferences link in the footer on every page, and a test that withdrawal changes what is set, not only what is promised.
- Records. A dated version number on the cookie policy and a copy of each previous banner configuration.
#How do I test what a banner really does?
The test is the same one the inspection service applied in the decision above: open the store in a clean browser profile and look at what is stored before touching the banner.
- In the browser developer tools, check cookies, local storage and network requests before any click. Anything non-essential at that point is a finding.
- Click reject all and reload. The list should not grow.
- Click accept, then withdraw through the footer link. The non-essential entries should stop being sent and the cookies should be removed or no longer read.
- Repeat on the checkout, on a product page and on a landing page, in each language.
I record what I see in the written handover so you can show a dated test to your adviser.
#Checklist for a Belgian Shopify store
- Cite article 10/2 of the law of 30 July 2018, not article 129 of the 2005 law.
- No non-essential cookie before consent, including analytics.
- Accept and reject on the first layer, same weight, nothing pre-ticked.
- Purposes in the second layer, full cookie list in a lower layer.
- Withdrawal link on every page that works.
- Every hand-added script gated by the consent check.
- Banner and cookie list in each storefront language.
- Dated version of the policy and the banner.
#How does a project run?
- You send the store address, the apps and pixels you use, the languages of the storefront and your deadline. The email answer arrives within 24 hours on working days.
- I write down the scope, my assumptions and the questions your adviser needs to answer.
- I build on a theme copy and send you the test record from a clean browser profile.
- When you confirm in writing, I publish the new setup.
A staff account in the Shopify admin is all the access I ask for. For the general Shopify offer, see the Shopify developer page.
#Send me your shop
If your Ghent shop sells to Belgian customers, send the store address, the apps and pixels it uses and your deadline through the contact form. Whether a given cookie needs consent is a decision for you and your adviser.