An Amsterdam store that sells to Dutch visitors has a cookie rule to meet before its analytics and advertising tags fire. I am Mariusz Szatkowski, a Gdynia-based developer who works on Shopify stores remotely and in writing. Design is mine to do or yours to supply. On the legal position the shop owner decides, and the setup I build makes the scripts follow that decision.

Canals in Amsterdam in July 2006, photographed by Diliff and licensed CC BY 2.5, via Wikimedia Commons.
#What does the Dutch cookie rule say?
The rule sits in article 11.7a of the Telecommunicatiewet, as published on wetten.overheid.nl. I read the consolidated text from the government’s open repository, version of 15 August 2026.
Paragraph 1 opens with “Onverminderd de Algemene verordening gegevensbescherming”, so the GDPR still applies on top. Storing information on a user’s device, or gaining access to information already there, through an electronic communications network is allowed only on the condition that the user:
- received clear and complete information in line with the GDPR, at least about the purposes for which the information is used
- gave consent
Paragraph 2 extends both requirements to the case where the storage or access is brought about in another way than through the network, as long as information is stored or accessed through a network. The article speaks of information on the device, not of cookies, so it reaches local storage and similar mechanisms as well as classic cookies. That is my reading of the wording, and your adviser should confirm it.
Paragraph 4 adds a presumption. An action that collects, combines or analyses data on the use of different services so that the user or subscriber can be treated differently is presumed to be processing of personal data. A retargeting audience built from storefront behaviour fits that description closely.
#Which cookies need no consent?
Paragraph 3 removes the consent duty for two groups. The first is storage or access whose only purpose is carrying out communication over an electronic communications network. The second is storage or access that is strictly necessary to deliver the information society service the subscriber or user asked for.
The second group has a clause about measurement. The same exemption applies, provided it has no or little consequence for the personal life of the subscriber or user, when the aim is to obtain information about the quality or effectiveness of a delivered information society service. The text does not name analytics tools. Whether a given tool setup falls under it depends on what the tool stores and shares, and that call belongs to the shop owner and the adviser.
On a Shopify store, a cart token or a session cookie that keeps checkout working is the textbook case of “strictly necessary to deliver the requested service”. An ad pixel is not. Anything in between gets decided case by case and written down.
Paragraph 6 lets a general administrative order add detailed rules on the information and consent requirements and on the exemptions. I did not search for such an order for this page, so treat the article text as the floor and ask your adviser whether further rules apply.
#What does the Shopify cookie banner cover?
Shopify’s help page on cookie banners says the banner informs visitors about cookies and asks for consent, and that a privacy policy must be published before you can use one. Two limits matter for a Dutch store:
- The Shopify banner governs Shopify’s own tools, including cookies and Shopify Pixels. Cookies or pixels installed by hand or through an app “may need a third-party banner or custom logic”, in Shopify’s words.
- The banner can appear on storefront, cart, checkout and customer account pages for visitors in configured regions.
On defaults, Shopify says new stores get automated settings that configure the banner for visitors in the UK and the EEA, provided active markets exist there. Outside configured regions the banner is not active by default, though it can be enabled anywhere. Under the cookie banner settings you can turn automated settings off and edit regions, content, appearance and position. Visitors can change their choice later through a link in the policies section or a “Cookie preferences” menu in the footer.
One warning from the same page applies directly to custom setups. If a third-party banner and Shopify use different regions, “non-essential data can be processed before a visitor provides consent”. Keep the two region lists identical.
#How does the Customer Privacy API gate a script?
The Customer Privacy API is the integration point between a banner, whether Shopify’s or another tool’s, and everything that wants to know what the visitor allowed. According to shopify.dev, consent recorded through it applies to Shopify-managed surfaces such as pixels, audiences and checkout.
The pieces I wire up, with the behaviour as shopify.dev describes it:
| Piece | What it does |
|---|
setTrackingConsent | records the visitor’s choices per category, and should be called only after a direct interaction such as accepting or declining |
currentVisitorConsent | returns yes, no or an empty string per category, and ignores location and merchant settings |
shouldShowBanner | returns true when the visitor is in a region set to show a banner and has not chosen yet |
analyticsProcessingAllowed, marketingAllowed, preferencesProcessingAllowed, saleOfDataAllowed | combine merchant settings, visitor location and consent into one answer |
visitorConsentCollected event | fires when consent changes, so a script can start or stop without a reload |
The consent categories are preferences (remembering settings such as country or language), analytics, marketing and sale of data. The last one works as an opt-out, and Shopify says Global Privacy Control signals are honoured automatically in configured regions.
Two practical consequences follow for an Amsterdam theme. A tag that the shop adds to the theme code should wait for the matching permission check instead of firing on page load. And a script that reads currentVisitorConsent alone will treat an empty string, meaning “not decided yet”, the wrong way if the code only tests for “no”. The permission checks avoid that trap because they answer for the visitor’s region.
For a headless build the page says to use Hydrogen’s analytics and consent, which manages the session on the server so that checkout honours the choice.
#What does consent change in the numbers?
Shopify states that in configured regions non-essential data is collected only after consent, and that this can reduce session-based metrics such as conversion rates. If a visitor declines, Shopify marks the device data so that Shopify Network Intelligence does not use it for non-essential purposes such as advertising, as long as the Shopify banner or a properly integrated third-party banner is in place.
For a store owner this means the analytics dashboard after the change is not comparable with the one before it. Note the date the banner went live next to the reports, so nobody reads a drop in sessions as a drop in demand.
#What goes into the build?
The article gives the structure, and the work is making each script fit it. A typical Amsterdam setup:
- An inventory of every script and cookie on the storefront, checkout and customer account pages, with what it stores, who receives the data and for which purpose. The information duty in paragraph 1 starts from this list.
- A sorting of that inventory into strictly necessary and everything else, agreed with the owner’s adviser. The sorting is a legal call, and I record it in the repository.
- The Shopify banner for Shopify tools, with regions set to match the markets that sell to the EEA, and a note of the exact region list.
- For each app or hand-installed tag, a gate on the Customer Privacy API permission check that fits its purpose, or a third-party banner whose region list equals the Shopify one.
- A test pass with a fresh browser profile: decline everything, then check the network panel for requests to ad and analytics hosts. Accept, and check that they start. Change the choice through the footer link, and check that they stop.
The test pass is the part I would not skip. A banner that looks right while a pixel fires before the choice is the usual failure.
#Where the developer stops
Legal advice is outside my work, and I am not a lawyer. Which cookies count as strictly necessary, whether your measurement setup fits the exemption in paragraph 3, and what the consent text should say are for you and your adviser. I did not find or use guidance from the Dutch data protection authority for this page, because I could not retrieve it from its own site, so the page rests on the statute text and on Shopify’s documentation only.
#How does a project run?
- You send the store address, the apps and tags you use, the markets you sell to and your deadline through the contact form.
- I write down the scope and my assumptions, with questions on each script and on the markets.
- I build on a development theme and a test store setup, and you check the flow with the steps above.
- After your written acceptance the theme goes live. The wider range of Shopify work is described on the Shopify developer page.
#Send me your store
If your Amsterdam store runs ad pixels, analytics or apps that set cookies, send me the store address, the list of apps and tags, the markets you sell to and your deadline through the contact form. You get the first written estimate for the consent work at no charge. Which cookies need consent, and what the banner text says, is for you and your adviser to decide.