Shopify developer in Madrid

Shopify for businesses in Madrid, delivered remotely by one developer.

Shopify developer

My place in the WordPress community

  • I have had a wordpress.org account since 2006.
  • I contributed to WordPress core for versions 7.0 and 7.1.
  • I maintain 30 plugins on wordpress.org.
  • I organise and speak at WordCamps.
  • I have attended every WordCamp Europe from 2017 to 2026.

My WordPress.org profile

A store that shows analytics or marketing cookies to visitors in Spain needs valid consent before it sets them. The rule sits in the LSSI-CE, and the AEPD explains how it reads it in a cookie guide. I am Mariusz Szatkowski, writing from Gdynia, where I build Shopify stores for owners elsewhere in Europe, all by email and remote access. Layout work can be mine or follow a design you supply. I am not a lawyer: the owner decides what the business needs, and I set up the banner and the consent gating so the store follows that decision.

Palacio de Cristal in the Retiro park, Madrid

Palacio de Cristal in the Retiro park, Madrid. Photo: Diego Delso, CC BY-SA 4.0, Wikimedia Commons.

#What does LSSI-CE article 22.2 say about cookies?

The consolidated text on boe.es says providers may use storage and retrieval devices on the terminal equipment of recipients on condition that the recipients have given their consent after being given clear and complete information on their use, in particular on the purposes of the data processing. Where technically possible and effective, consent can be given through the right browser settings or other applications.

The same paragraph keeps an exception: technical storage or access whose only purpose is to carry out the transmission of a communication over an electronic network, or, to the extent strictly necessary, to provide an information society service that the recipient expressly requested.

The BOE text of article 22.2 still refers to the data protection law of 1999 for the rules on processing. I read the paragraph as printed. How it interacts with the GDPR is a legal question I leave to your adviser.

The Spanish data protection authority publishes a cookie guide. The copy I read carries the line “Guía actualizada en mayo 2024”. Three rules from it matter for a banner.

Information on the first layer. The first layer, the banner itself, must contain the identity of the publisher, unless it is obvious from the site, the purposes of the cookies, whether they are first or third party, generic information on profiling where it happens, how to accept, configure and reject, and a clearly visible link to a second layer with the detail. The guide does not require third parties to be named on the first layer.

Accept and reject on the same footing. The first layer should offer a button to accept all, a similar button to reject, with wording such as “Rechazar cookies” or “Rechazar”, and a button or mechanism that leads to a configuration panel where cookies can be accepted or rejected at least by purpose. The guide says that if an accept button is used, a reject button must be used. It says the option to reject must be offered in the same layer, at the same level and with the same visibility as the option to accept, without sending the visitor to another place.

No pressure and no tricks. The guide says the user must not be given the impression that cookies are compulsory to browse, must not be clearly pushed towards accepting, and that colour or contrast must not mislead. It gives an example of an invalid design: a reject button whose text does not contrast enough with the button colour to be read.

The AEPD guide ties validity to a clear affirmative action. It says the consent must be free and informed, and that mere inactivity never amounts to consent. On browsing, it quotes the European Data Protection Board: continuing to browse is not a valid way to give consent. Opening the second layer, or navigating to manage preferences, is not an active act from which acceptance can be inferred either.

Two further rules decide how the banner can be built:

  • Access to a service must not depend on accepting cookies. “Cookie walls” that give no alternative to consent are not allowed. The guide allows an alternative access route that is genuinely equivalent and not necessarily free, offered by the same publisher.
  • Withdrawing consent must be as easy as giving it. The guide says this is met, for example, when the visitor has simple and permanent access to the cookie management system.

On duration, the guide says the AEPD considers it good practice that consent for a given cookie is valid for no more than 24 months, and that the visitor’s choice is kept during that time so the banner does not return at every visit.

The guide splits cookies by purpose. Technical cookies are exempt from article 22.2 when they allow the service the user asked for, and the guide lists examples that include remembering the items of an order, carrying out the purchase process and managing payment. The same cookies lose the exemption if they are also used for a purpose that is not exempt, such as behavioural advertising.

Preference cookies are exempt when the visitor chooses the setting, for example language or currency, and the cookie serves only that choice.

Analytics cookies are not exempt. The guide notes that the Article 29 Working Party considered them unlikely to be a high privacy risk when they are first-party, process aggregate data for statistical purposes, come with information on their use and allow the user to refuse. That is a statement about risk, and it leaves the consent duty in place. Behavioural advertising cookies need consent.

For a store this gives a working split: cart and checkout cookies on one side, analytics and advertising pixels on the other. The cart and checkout cookies are the technical ones. The analytics and advertising pixels are the ones that wait for a yes.

#How do Shopify customer privacy settings map to this?

Shopify help describes automated privacy settings under Settings > Customer privacy: a privacy policy, a cookie banner and a data sharing opt-out page. The relevant facts:

  • On a new store, automated privacy settings are on by default, and the cookie banner is configured automatically for visitors in the UK and the EEA if the store has active markets there.
  • A privacy policy must be published before a cookie banner can be used.
  • Regions are set under Regions and content, with automated settings or by manual choice. The banner may appear on storefront, cart, checkout and customer account pages.
  • Visitors reach their preferences through the banner, and through a Cookie preferences link in the footer menu if the banner is not displayed on checkout.
  • In configured regions, non-essential data is collected only after consent, and Shopify says this can lower session counts and conversion metrics in analytics.

The scope matters. Shopify says its cookie banner governs Shopify-specific tools, including cookies and Shopify Pixels. If third-party cookies or pixels are installed manually or through apps, a third-party banner or custom logic may be needed so they honour the visitor’s choice. When a third-party consent tool is used, Shopify advises setting the same consent regions in Customer privacy settings and in the app, because non-essential data can be processed before consent if the regions differ.

The help pages I read do not describe the exact layout of Shopify’s banner, so they do not tell whether Reject sits on the first layer next to Accept. That check belongs to the published store: open it in a private window with a Spanish IP address or a region override, and compare the banner to the AEPD points above.

#How does the Customer Privacy API come in?

For custom banners and scripts, shopify.dev documents the Customer Privacy API, a browser JavaScript API used to check permissions or build a cookie banner. In regions configured to require consent, non-essential purposes are not allowed by default until consent is given. The API exposes checks per purpose: analyticsProcessingAllowed, marketingAllowed, preferencesProcessingAllowed and saleOfDataAllowed. Consent is recorded with setTrackingConsent for analytics, marketing and preferences, and Shopify says to do this only on a visitor interaction such as accepting or declining in a banner, never automatically on behalf of the visitor. A visitorConsentCollected event fires when consent changes.

In practice a script that is not Shopify’s own waits for visitorConsentCollected or a permission check before it loads. A pixel that fires on page load, before any answer, is the failure to test for in a store with several marketing tags.

Article 38(4)(g) of the LSSI-CE lists as a minor infraction using storage devices without having provided the information or obtained the consent required by article 22.2. Article 39(1)(c) sets fines of up to 30,000 euros for minor infractions. I did not check how the AEPD applies this in practice, and I do not predict it.

  • List every cookie and pixel the store loads, by purpose: technical, preferences, analytics, advertising.
  • Publish the privacy policy, then turn on the Shopify banner, and set Spain among its regions.
  • Check the banner against the AEPD points: purposes, accept and reject on the same layer with similar buttons, a configuration option, a link to the cookie policy.
  • Gate every non-Shopify script on the Customer Privacy API or on the consent tool’s signal.
  • Keep the Cookie preferences link reachable in the footer so consent can be withdrawn as easily as it was given.
  • Store the choice, and ask again no earlier than the period you set, with 24 months as the AEPD’s good practice.
  • Open the store in a private window and test accept, reject and configure, looking at the cookies set after each.
  • Compare analytics numbers before and after, since fewer sessions are recorded where consent is missing.

#How does a project run?

  1. You send the store address, the list of apps and tracking tags, and your deadline. Expect a reply by email within 24 hours on working days.
  2. I write down the scope and my assumptions, with questions for your adviser on categories and wording.
  3. I build on a development store or a theme copy, and you test the banner and the tags there.
  4. After your written acceptance, the banner and the gating go live on the published theme.

Checking the banner and the tags takes a staff account in the Shopify admin and the list of apps you run. What I build for stores overall is on the Shopify developer page.

#Send me your store

If your Madrid store reaches visitors in Spain, send me the store address, the apps and tracking tags it uses and your deadline through the contact form. Which cookies need consent in your case, and how to word the banner, is for you and your adviser to decide.

Need this service: Shopify developer in Madrid?

Describe your project by e-mail. I reply within 24 hours.

Describe your project

Latest Shopify developer articles

Nov 6, 2026

EU energy label in an online shop: UK and Ireland rules

Which products need an energy label online, what must sit next to the price, how the product information sheet and EPREL fit in, who enforces it in Ireland and the UK, and how to build it in WooCommerce and Shopify.