---
title: "GDPR analytics in Spain — AEPD cookies guide explained"
description: "How analytics runs lawfully in Spain without a cookie banner. AEPD 2024 cookies guide, LSSI-CE Art. 22.2, and the architectural exemption."
summary: "TL;DRSpanish cookie law sits on top of LSSI-CE Art. 22.2 (the domestic implementation of ePrivacy Art. 5(3)) and is interpreted by the AEPD’s 2024 cookies guide. The AEPD explicitly excludes anonymous aggregate audience measurement from the consent requirement provided four conditions hold: aggregate-only reporting,…"
canonical_url: "https://sealmetrics.com/gdpr-analytics/spain/"
lang: "en"
author: "Rafa Jiménez"
author_url: "https://sealmetrics.com/authors/rafa-jimenez/"
date_modified: 2026-05-29
content_type: "product"
owner: "web"
llm_priority: "useful"
last_verified: "2026-05-29"
source: https://sealmetrics.com/gdpr-analytics/spain/
publisher: Sealmetrics
---

Country — Spain · AEPD

# Analítica en España. *Sin banner de cookies.*

The AEPD 2024 cookies guide carves out anonymous audience measurement from the consent obligation. This is what the carve-out requires, how it aligns with the CNIL and DSK positions, and what the Digital Omnibus proposal would change.

TL;DR

Spanish cookie law sits on top of LSSI-CE Art. 22.2 (the domestic implementation of ePrivacy Art. 5(3)) and is interpreted by the AEPD’s 2024 cookies guide. The AEPD explicitly excludes anonymous aggregate audience measurement from the consent requirement provided four conditions hold: aggregate-only reporting, no personal data, first-party context with no cross-site tracking, and EU residency. Sealmetrics is built around these conditions (self-assessed, not certified) — the same architectural pattern we assess against the CNIL criteria in France; in Germany the DSK does not extend the exemption to audience measurement, so there it is our reading, not settled.

- **AEPD 2024 cookies guide** — explicit carve-out for anonymous aggregate measurement.
- **LSSI-CE Art. 22.2** — the Spanish ePrivacy implementation, in force since 2009.
- **Public-sector compatible** — analytics data only in the EU, signed DPA, architectural exemption.
- **~50% rejection rate** on standard banners — average for Spanish B2C eCommerce.

## The 4 conditions of the AEPD exemption

The AEPD guide is less prescriptive than the CNIL’s 14-point self-assessment, but the substantive conditions converge. Four architectural requirements:

01

### Anonymous aggregate measurement

Spanish requirement

AEPD 2024 cookies guide: tools used only for anonymous audience measurement, with no cross-site tracking, do not require consent.

Sealmetrics

Aggregate channel and conversion counts only. No persistent identifier per visitor, no profile, no cross-site behaviour tracked. The criterion is met by architectural design.

02

### No data that identifies anyone

Spanish requirement

AEPD aligns with the EDPB Opinion 5/2019: if the processing does not relate to an identified or identifiable person, GDPR material scope does not apply.

Sealmetrics

No IP address stored: to filter bots we check it in flight against a public list of automated-traffic IPs, and don't keep it. No User-Agent fingerprint stored. No persistent identifier: the session identifier rotates daily and cannot be linked across days. The events are channel-level aggregates from the moment they hit the server. The session identifier is a pseudonym processed under legitimate interest; once rotated, not even we can reconstruct it.

03

### First-party context only

Spanish requirement

LSSI-CE Art. 22.2 governs cookie use. Anonymous measurement that stays first-party and does not enable cross-site tracking falls outside the consent requirement.

Sealmetrics

Pixel runs on a CNAME under the customer's own domain. First-party server-side. No third-party identifier, no cross-site data path.

04

### EU residency

Spanish requirement

Spanish authorities emphasise EU-only processing to keep Schrems II transfer concerns out of the analysis.

Sealmetrics

Processing exclusively in Dublin, Ireland — within the GDPR adequacy zone. No third-country transfer occurs.

## Public-sector and regulated industries

Spanish public-sector procurement (administraciones públicas, universities, hospitals, regional governments) applies stricter rules than commercial eCommerce — and the architectural exemption fits the procurement requirements cleanly:

- Analytics data hosted and processed only in the EU (Dublin); the only US sub-processor, Resend, sends account emails under SCCs + DPF.
- Signed DPA under GDPR Art. 28, available pre-filled for counter-signature.
- TPSR package covering data flows, retention, encryption and access control.
- ENS / ISO posture documented (we are not currently ISO 27001 or SOC 2 certified — the roadmap and controls operated today are documented in full).
- Lawful basis under Art. 6(1)(f) plus LSSI-CE 22.2 exemption — no consent banner required for the analytics layer.

## Spanish primary sources

- [AEPD — Guía sobre el uso de cookies (2024, PDF, Spanish)](https://www.aepd.es/guias/guia-cookies.pdf)
- [LSSI-CE — Ley 34/2002 (BOE, official Spanish text)](https://www.boe.es/eli/es/l/2002/07/11/34/con)
- [AEPD — Spanish Data Protection Agency (English)](https://www.aepd.es/en)

## Common DPO questions

Does the AEPD exemption mean no cookie banner at all?

It means no cookie banner is required for the analytics layer specifically, provided the analytics meets the conditions: aggregate, anonymous, no cross-site tracking, no personal data. Other tools on your site (Google Ads pixels, Meta pixels, A/B testing platforms that set cookies) still require consent. Many Spanish eCommerce teams reduce the banner scope to those specific tools instead of running a catch-all banner.

What does the LSSI-CE say about cookies?

Article 22.2 of the Ley de Servicios de la Sociedad de la Información y de Comercio Electrónico (LSSI-CE, 2002 with later amendments) is the Spanish implementation of ePrivacy Art. 5(3). It requires informed consent before storing or accessing information on the user's terminal device. The AEPD has issued guidance (most recently the 2024 cookies guide) describing when the exemption applies — and aggregate audience measurement is explicitly included.

Would the proposed Digital Omnibus change the AEPD position?

Nothing has changed yet: COM(2025) 837 is a Commission proposal of 19 November 2025, still in the ordinary legislative procedure, with adoption realistically 2027–2028. As drafted it would exempt first-party, aggregated audience measurement for the controller's own use across the EU under a new GDPR Article 88a, which sits alongside the AEPD position rather than displacing it. Until a text is adopted, LSSI-CE Art. 22.2 and the AEPD 2024 guide are what apply in Spain.

Is Sealmetrics suitable for Spanish public-sector sites?

Yes. Public-sector procurement in Spain typically requires processing with no US transfer, a signed DPA under GDPR Art. 28, and either explicit consent or an exemption. Sealmetrics ships all three: EU-only processing in Dublin, a pre-filled DPA, and the architectural exemption under LSSI-CE 22.2. Several Spanish public-sector operators run Sealmetrics for that reason.

What does the privacy policy still need to say?

The privacy policy must mention the analytics tool, its purpose, the data categories processed (channel-level aggregates), the retention period, and the lawful basis (Art. 6(1)(f) legitimate interest, paired with the LSSI-CE 22.2 exemption). The transparency obligation under GDPR Art. 13/14 applies regardless of whether consent is collected. A template is included in our TPSR package.

Does the AEPD position align with the CNIL?

Yes, on the exemption itself. Both authorities accept anonymous aggregate audience measurement without consent provided the architecture meets specific conditions. The AEPD guide is less prescriptive than the CNIL's 14-point self-assessment but converges on the same outcome: no identifier on the device, no cross-site tracking, no personal data, EU residency.

## Related reading

Pillar

### Consentless analytics

The full legal framework — GDPR + ePrivacy + 6 EU authorities aligned.

[Consentless analytics](https://sealmetrics.com/consentless-analytics.md)

Country

### France — CNIL exemption

The 5 CNIL criteria and the 14-point self-assessment.

[France — CNIL exemption](https://sealmetrics.com/gdpr-analytics/france.md)

Country

### Germany — §25 TDDDG

The DSK orientation paper and the architectural exemption.

[Germany — §25 TDDDG](https://sealmetrics.com/gdpr-analytics/germany.md)

Tool

### Regulatory gap analysis

Audit your stack requirement by requirement — and see where it falls out of compliance.

[Regulatory gap analysis](https://sealmetrics.com/reg-gap-analysis.md)

Blog

### Spain FAQ — 7 direct answers

Banner necessity, GA4 legality, LSSI fines — the questions online stores ask, also in Spanish.

[Spain FAQ — 7 direct answers](https://sealmetrics.com/blog/gdpr-analytics-spain-faq.md)

## One *AEPD review*. Resuelta.

Book with the founder. Bring your DPO. We walk through the AEPD conditions live and ship the DPA + TPSR on the call.

Built by a founder · EU-hosted by design
