Before the first order, a Shopify store has already set cookies and loaded tracking scripts. In Poland that is regulated by one article of the Electronic Communications Law. I am Mariusz Szatkowski, based in Gdynia, and I work with Łódź stores remotely and in writing. I am not a lawyer: whether a given cookie needs consent is for you and your adviser to decide. My part is the Shopify setup: the decision gets applied in the store and can be shown later.

Photo: Adam Jones from Kelowna, BC, Canada, CC BY-SA 2.0, Wikimedia Commons.
#Which Polish law governs cookies on a Shopify store?
The Prawo komunikacji elektronicznej (PKE) of 12 July 2024. The Sejm’s legal database gives its reference as Dz.U. 2024 poz. 1221, promulgated on 9 August 2024, and it entered into force on 10 November 2024. The cookie rule is art. 399.
The PKE replaced the Telecommunications Law. The introductory act, Dz.U. 2024 poz. 1222, says the Telecommunications Law of 16 July 2004 is repealed. A privacy policy or banner text that still cites the old law is out of date.
The rule is not limited to cookies. Art. 399 speaks of storing information on a visitor’s device, or getting access to information already stored there. That covers cookies, but also local storage and similar techniques used by pixels and analytics scripts. This is my reading of the wording, so ask your adviser about unusual cases.
#What does art. 399 require?
Art. 399(1) permits storing or reading information on the visitor’s terminal device when three conditions are met:
- The visitor is first told, clearly, simply and understandably, the purpose of the storage or access, and that they can set conditions for it through software settings on their device or through the service configuration.
- The visitor, having received that information, consents.
- The storage or access does not change the configuration of the device or the software installed on it.
Art. 399(2) adds that the visitor can express consent through software settings or service configuration. Art. 400 says that the data protection provisions apply accordingly to obtaining the consent. In practice that sends you to the GDPR for what counts as valid consent. That is how I read it.
Art. 399(4) covers a separate case: installing software on a device for a service, which needs prior information about the purpose, information on how to remove it, and prior consent.
#Which cookies need no consent?
Art. 399(3) sets two exceptions. The conditions do not apply where storing or reading the information is necessary:
- to transmit an electronic message over a public network, or
- to deliver a telecommunications service or an electronic service that the user requested.
On a Shopify store, the cart and the checkout session fall under the second exception, because the shopper asked for them by shopping. An advertising pixel or an analytics script is a different case. Shopify’s own Customer Privacy API treats analytics and marketing as consent categories that are blocked by default in regions that require consent.
The sorting of cookies into “necessary” and “not necessary” is the part that needs a decision from the shop owner. The setup then follows the decision: a list of every script and its purpose, and a gate for each one that is not necessary.
#Who enforces it: UKE or UODO?
Two offices appear in the act, with different jobs.
The President of UKE (Urząd Komunikacji Elektronicznej) fines the cookie rule. Art. 444(1) item 82 names a party who stores information on a terminal device, or gets access to it, against art. 399. Art. 446(1) assigns the fines under art. 444(1) and (2) to the President of UKE, by decision.
The President of UODO (Urząd Ochrony Danych Osobowych) appears in art. 445. That article lets UODO fine, among other things, a failure to apply the security measures required by art. 401. Art. 400 links the consent itself to the data protection provisions. When cookies carry personal data, the GDPR applies as well, and UODO is the Polish authority for it.
I did not retrieve any guidance document from UODO or UKE for this page, so I do not describe how either office reads a banner design. Their sites are the place to check for current positions.
#What fines can follow?
Art. 446(1) sets the ceiling at 3 percent of the entity’s revenue in the previous calendar year. Art. 446(2) and (3) deal with small businesses: where there was no revenue in the previous year, or revenue did not exceed PLN 500,000, UKE takes the average revenue of the three years before. Where there is still no revenue or it does not exceed PLN 500,000, the fine can be up to PLN 15,000.
Art. 444(3) allows a fine even after the breach stopped or the damage was repaired, if UKE finds that the duration, scope or effects justify it. Fixing the banner after a complaint is therefore not a guarantee that nothing follows.
Art. 444(2) item 8 also lists failing to meet the consent obligations in art. 399, as a fine that UKE may impose where the nature or scope of the breach justifies it.
#How should the Shopify cookie banner be set up?
The path in the admin is Settings, then Customer privacy, then Cookie banner in the Privacy settings section. These are the facts from the Shopify Help Center that matter for a Polish store:
- With Use automated settings on, Shopify configures the banner for visitors in the UK and EEA when you have active markets there. Poland is in the EEA, so an active Polish market is what triggers it. If Poland is served from a different market setup, check the regions list manually.
- In regions with the banner, Shopify collects non-essential data only after consent.
- The banner can appear on the storefront, the cart, checkout and the customer account pages.
- Customers can change their choice through the banner, a link in the policies section, or Cookie preferences in the footer menu when the banner does not show at checkout.
- Banner content, colours and position are editable. Shopify privacy features support the 32 languages available in checkout and themes, and the content can be localised with Translate & Adapt.
For the Polish text, the art. 399(1) list above is the brief: state the purpose of each category, tell the visitor that conditions can be set in the browser or service settings, and offer a way to accept and a way to refuse that are equally easy. The last point is from the data protection side of the rule, not from art. 399 itself, so confirm it with your adviser. Whether the Polish text of the banner is available in your theme is something to check in the admin preview before launch.
#What does the Customer Privacy API change for custom code?
If a theme section, a script or an app reads or writes tracking data, it has to respect the same consent state. The Customer Privacy API on shopify.dev is the interface for that. These points are from its documentation:
- It is a browser JavaScript API, loaded with
loadFeatures and available at window.Shopify.customerPrivacy. - It has four consent categories: preferences, analytics, marketing and sale of data.
- Permission checks such as
analyticsProcessingAllowed() and marketingAllowed() take the merchant settings, the visitor’s location and the consent into account. setTrackingConsent should be called only after a visitor interaction, and the documentation says never to read or modify Shopify cookies directly.shouldShowBanner() reports whether the visitor is in a region configured to show a banner. The visitorConsentCollected event fires when consent changes.- Global Privacy Control signals are honoured automatically in configured regions.
- For a custom storefront the documentation recommends Hydrogen analytics and consent, which it calls the only way to fully integrate the banner with Shopify Analytics.
In a Liquid theme this becomes a rule for every script I add: it waits for the matching permission check and runs again on visitorConsentCollected. A script that fires on page load, whatever the consent, is the usual defect I look for in themes from other developers.
#What about the marketing checkbox at checkout?
Settings, then Checkout, holds the marketing opt-in controls. According to Shopify, you choose whether the consent checkbox appears at checkout, at sign-in, or both, and which customer regions have the email checkbox preselected. You can leave no region preselected, so every customer opts in manually. The SMS opt-in checkbox cannot be preselected.
Shopify states that its automatic region recommendations are not legal advice and that you are responsible for complying with local laws. Email and SMS marketing to customers is a separate legal topic from art. 399, and I do not cover it on this page.
#Checklist for a Łódź Shopify store
- List every script, pixel and app that stores or reads information on the visitor’s device, with its purpose.
- Decide with your adviser which items fall under the exceptions in art. 399(3).
- Check Settings, Customer privacy, Cookie banner: regions, content, language and the working accept and refuse buttons.
- Test with a clean browser: no non-essential script fires before consent.
- Match the consent regions of any third-party banner to the Shopify regions.
- Make sure custom code uses the Customer Privacy API permission checks.
- Update the privacy policy and banner text, and remove references to the repealed Telecommunications Law.
- Re-test after theme updates and after adding an app.
#How does a project run?
- You send the store address, the apps and pixels you use, the markets you sell to and your deadline.
- I put the scope and my assumptions in writing and ask about the script inventory.
- I work on a development theme and a staging copy, and you check the banner and the script behaviour in a clean browser.
- After your written acceptance, I publish and leave you the final script inventory.
For the work I need collaborator access to your Shopify admin. Shopify work beyond this topic is on the Shopify developer page.
#Send me your store
If your Łódź store sells to Polish customers, send me the store address, the apps and pixels in use, the markets you sell to and your deadline through the contact form. Which cookies need consent, and how the banner text reads, is for you and your adviser to decide.