Skip to content

Cookie Compliance: Valid Consent, Not Just a Banner

Cookie audit, Consent Management Platform implementation, LSSI-CE compliance, and ePrivacy Regulation preparation for websites and digital platforms.

Why your cookie banner probably fails the AEPD standard

120+
Cookie and consent audits completed
Zero
AEPD sanctions on clients with correctly implemented CMPs
12 months
Maximum recommended consent renewal period
4.8/5 on Google · 50+ reviews 25+ years experience 5 offices in Spain 500+ clients
Deadline Already mandatory

GDPR/ePrivacy compliance

The AEPD has sanctioned 200+ websites in 2024-2025 for invalid cookie consent

Quick assessment

Does this apply to your business?

Does your cookie banner have a Reject all button as visible as the Accept all button, in the first layer of the banner?

Have you conducted a technical cookie audit in the last six months to verify no third-party cookies fire before user consent?

Does your CMP log the date and type of each user's consent, so you can demonstrate it to the AEPD in an inspection?

Is your Google Analytics and Google Ads implementation compliant with Consent Mode v2 and the AEPD Cookie Guidelines?

0 of 4 questions answered

Our approach

Our cookie compliance audit and remediation process

01

Technical cookie and tracker audit

We scan the website or application to identify all active cookies and trackers, classify them by category (essential, functional, analytical, advertising), and map the third-party providers involved.

02

Compliance analysis and gap report

We assess the current consent system against the AEPD Cookie Guidelines (2023): consent validity, ease of rejection, layered information, and cookie policy completeness.

03

CMP implementation or reconfiguration

We configure or implement the Consent Management Platform with the settings required for valid consent: equivalent rejection option, consent logging, and periodic renewal.

04

Documentation and maintenance

We draft or update the cookie policy with the complete tracker catalogue and detailed purposes, and establish a periodic review process for new cookies or platform changes.

The challenge

The AEPD's Cookie Guidelines require that consent for non-essential cookies be free, specific, informed, and unambiguous. Banners with a more prominent Accept button than Reject, rejection options buried in configuration menus, or the absence of an equally easy way to decline are documented violations the AEPD is actively sanctioning. Many companies believe they comply because they have a banner. Most do not meet the valid consent standard.

Our solution

We conduct a full technical cookie audit, design the consent architecture in line with the AEPD's Cookie Guidelines, implement or configure the Consent Management Platform (CMP), and document the cookie policy at the level of detail the regulation requires. For digital advertising and advanced analytics platforms, we design compliance strategies that do not sacrifice measurement.

Cookie compliance in Spain is governed by Article 22(2) of Law 34/2002 on Information Society Services and Electronic Commerce (LSSI-CE), read in conjunction with the EU General Data Protection Regulation (GDPR, Regulation 2016/679) and the AEPD's Cookie Guidelines (updated 2023). Non-essential cookies — including analytics, advertising, and social media cookies — require prior, freely given, specific, informed, and unambiguous consent before being placed on a user's device; consent obtained through dark patterns (such as a more prominent "Accept" button, or rejecting cookies buried in configuration menus) does not meet the legal standard. The forthcoming ePrivacy Regulation will replace the LSSI-CE cookie provisions at EU level.

Cookie compliance is the area of data protection where the largest gap exists between how businesses perceive their position and the regulatory reality. A cookie banner on a website is not compliance — it is the starting point of a system that, to be valid, must ensure that the consent obtained meets all the requirements of the GDPR and the AEPD’s Cookie Guidelines.

The AEPD’s updated 2023 Cookie Guidelines set concrete criteria that many current implementations do not meet. The equivalence requirement — that accept and reject options must be equally prominent and accessible in the first layer of the banner — generates the most violations. The common practice of placing an Accept all button on the first layer and making rejection available only through a settings link buried in secondary navigation is expressly contrary to the AEPD guidelines and has resulted in sanctions in recent enforcement decisions.

The technical cookie audit also regularly reveals situations organisations were unaware of: third-party scripts loading before the user has interacted with the banner, cookies setting regardless of the option chosen, or advertising trackers active that the technical team had forgotten and that do not appear in the cookie policy. This technical opacity generates the greatest regulatory risk, because it means the recorded consent does not correspond to the actual processing being carried out.

For companies with advanced digital marketing strategies, cookie compliance does not have to mean abandoning measurement. The correct implementation of Google Consent Mode v2, combined with a properly configured CMP, allows useful conversion measurement to be maintained even when a portion of users rejects cookies — using Google’s data modelling for non-consent sessions. This compliance architecture is what allows businesses to balance the regulatory obligation with the data needs of commercial decision-making.

The pre-consent blocking of third-party scripts is the critical technical control that separates a functioning CMP from a cosmetic one. A banner that records user preferences but fails to block the underlying scripts before consent — a common failure in CMP implementations — provides no actual protection and is easily detected in a technical inspection. We verify the full technical implementation, not just the visual appearance of the consent interface.

A correctly implemented cookie compliance system delivers zero AEPD sanctions for clients who maintain it properly. The combination of a technical audit, a correctly configured CMP, and documented consent records is the evidence that regulators look for and that our clients have consistently demonstrated. In the broader context of GDPR compliance, cookie compliance is the most visible interface of a company’s privacy commitment — the one users experience directly and the one supervisory authorities inspect most easily. Our external DPO service provides ongoing oversight to maintain compliance as platforms and regulations evolve.

Preparing for ePrivacy and the Regulatory Road Ahead

The ePrivacy Regulation has been delayed repeatedly, but its eventual entry into force will require material changes to consent systems, electronic communications metadata handling, and digital advertising rules. Organisations that build their consent infrastructure correctly now — with a well-structured CMP, documented consent records, and a modular architecture — will adapt far more easily when the Regulation finally applies. Privacy by design integration ensures cookie compliance does not operate in isolation from your broader privacy framework.

Google Analytics, Google Ads, and Meta Pixel: The Most Frequent Cases

Analytics and digital advertising tools are the most common sources of cookie compliance violations. Understanding their specific requirements is essential for any company running digital marketing operations in Spain and Europe.

Google Analytics 4 (GA4). GA4 uses first-party cookies and sends data to Google servers in the United States. Following the Schrems II judgment (C-311/18) and decisions by multiple European supervisory authorities (Austria, France, Italy, Belgium), the transfer of European user data to Google without additional safeguards has been declared unlawful in several jurisdictions. Using GA4 without explicit consent or without a server-side tagging solution that anonymises data before transmission can generate GDPR liability. Google Consent Mode v2 is the recommended technical mechanism for maintaining measurement capability compatible with compliance.

Google Ads conversion pixels. Conversion pixels triggered after a purchase or form submission are third-party cookies that require prior consent if the user has not accepted marketing cookies. Many incorrect implementations fire the conversion pixel on the conversion event without verifying whether the user has consented to marketing cookies. The correct implementation must be conditional on the consent state in the CMP.

Meta Pixel (Facebook Pixel). The Meta Pixel installs tracking cookies and can activate retargeting functionality. It requires explicit prior consent in any European context. Server-side integration (CAPI — Conversions API) allows reduced reliance on browser cookies and improved measurement while maintaining compliance.

The choice of CMP has a direct impact on compliance and on marketing performance. Not all CMPs are equivalent: some lack the granularity needed to manage consents by purpose, others do not generate auditable consent records, and some are not correctly integrated with Google Consent Mode v2.

CMPs certified by IAB Europe under the Transparency & Consent Framework (TCF 2.2) offer a level of standardisation that simplifies integration with digital advertising platforms. However, TCF 2.2 is under scrutiny from several European data protection authorities, and its use does not automatically satisfy GDPR requirements.

Our team evaluates the most appropriate options for each company’s technical and business profile: Cookiebot, OneTrust, Usercentrics, CookieYes, or custom implementations. The selection considers traffic volume, marketing stack complexity, and the documentation requirements of the outsourced DPO.

Dark Patterns and the Risk of Manipulative Design

The AEPD and the European Data Protection Board (EDPB) have published specific guidelines on dark patterns in privacy interfaces. The most frequently sanctioned patterns are: an “Accept all” button in a prominent colour alongside a grey or smaller “Reject” option; the absence of a rejection option in the first layer of the banner (forcing the user to enter “Manage settings” to decline); pre-ticking of cookie categories; and treating the closure of the banner via the X button as acceptance.

A compliant banner design is technically neutral: the accept and reject options are equally accessible and the text is clear about the consequences of each choice. This standard is compatible with good UX design. We coordinate with design and development teams to implement banners that comply without penalising user experience or consent rates.

Regulatory Framework: LSSICE, GDPR, and AEPD Guidance

Cookie compliance in Spain operates at the intersection of two legal frameworks and one set of regulatory guidelines:

LSSICE (Ley 34/2002 de Servicios de la Sociedad de la Información y de Comercio Electrónico): Art. 22.2 LSSICE requires that website operators inform users of the use of cookies and obtain their consent, unless the cookies are strictly necessary for the requested service. The LSSICE pre-dates the GDPR but remains the primary domestic legal basis for cookie consent obligations in Spain.

GDPR (Regulation 2016/679): the GDPR defines consent requirements applicable to all processing of personal data, including data processed through cookies and tracking technologies. Under the GDPR, consent must be freely given, specific, informed, and unambiguous. Pre-ticked boxes and scrolling as consent are specifically excluded. The GDPR’s accountability principle also requires that consent records be maintained and demonstrable.

AEPD Cookie Compliance Guide (2023, updated 2024): the AEPD has published practical guidance on the implementation of cookie compliance that constitutes the definitive interpretation of the legal framework in Spain. The guide specifies: the acceptable categories of strictly necessary cookies (exempt from consent), the requirements for the first layer of the consent banner, the requirements for the second layer, the treatment of consent withdrawal, the storage limitation for consent records, and the acceptable banner interaction patterns. AEPD enforcement decisions are consistently aligned with this guidance.

Sectors Most Affected

E-commerce and retail: high traffic volumes, complex marketing stacks (Google Ads, Meta Pixel, affiliate networks, retargeting platforms), and sophisticated analytics requirements make e-commerce the highest-complexity cookie compliance environment. Every new marketing platform integration requires reassessment of the cookie declaration and CMP configuration.

Media and publishing: advertising-funded digital media requires consent for advertising personalisation cookies, creating a commercial tension between consent rates and advertising revenue. Publishers in Spain have been among the most active test cases for the AEPD’s enforcement of cookie compliance standards.

SaaS and B2B platforms: even B2B platforms serving corporate users must comply with cookie regulations on their public websites, marketing landing pages, and login portals. Many B2B companies underestimate their cookie compliance obligations because they do not run consumer advertising campaigns.

Healthcare and professional services: websites for healthcare providers, law firms, and accountants frequently use contact form tracking, appointment booking analytics, and lead source attribution tools that install cookies. The combination of sensitive service category and cookie tracking creates a compliance risk that requires careful management.

Company Size Segmentation

Small businesses and freelancers with simple websites and minimal marketing technology stacks need a basic CMP implementation (typically a lightweight solution such as CookieYes), a compliant cookie declaration, and a privacy policy that covers cookie use. Our basic cookie audit and setup service covers this profile with a fixed-fee one-day implementation.

Medium companies with active digital marketing programmes — Google Ads, Meta advertising, email marketing, analytics — need a more comprehensive CMP with Google Consent Mode v2 integration, server-side tagging assessment, and regular cookie declaration updates as the marketing stack evolves.

Large companies and e-commerce platforms with complex consent requirements, multiple marketing platforms, and significant consent rate implications need a full CMP programme: platform selection, custom implementation, consent rate optimisation, A/B testing of compliant banner variants, and quarterly compliance monitoring.

Common Mistakes We Fix

  1. Installing a CMP but not blocking pre-consent scripts. The most common technical failure is a CMP that records the user’s preferences but fails to actually block the third-party scripts before the user has interacted with the banner. The scripts fire on page load regardless of the user’s choice. This is detectable in a technical audit and constitutes a cookie violation even when the banner appears compliant.

  2. Not updating the cookie declaration when the marketing stack changes. Cookie declarations become outdated as marketing tools are added, removed, or updated. An undisclosed cookie is a compliance failure, regardless of the CMP configuration. Cookie declarations must be audited and updated whenever a new marketing tool is integrated.

  3. Treating strictly necessary cookies too broadly. AEPD guidance defines strictly necessary cookies narrowly: session management, shopping cart, and similar cookies essential to the service the user has requested. Analytics cookies, even first-party ones, are not strictly necessary and require consent. Many websites incorrectly classify analytics and functionality cookies as “strictly necessary” to avoid requiring consent.

  4. Not maintaining consent records. The GDPR’s accountability principle requires that consent be demonstrable. Organisations must maintain records of when consent was given, for which purposes, and under which version of the privacy notice. CMP configuration that does not generate and retain these records leaves the organisation unable to demonstrate compliance in an AEPD investigation.

  5. Not coordinating the cookie policy with the privacy policy. The cookie declaration and the privacy policy must be consistent — the same data processing activities described in one must appear in the other. Inconsistencies between the two documents are a standard finding in AEPD inspections and are treated as evidence of inadequate transparency.

How We Work

Cookie audit (one-time): technical scan of the website to identify all cookies and tracking technologies, classification against the strictly necessary/analytics/marketing taxonomy, gap analysis against AEPD guidance. Delivered within 1-2 weeks. Fixed fee based on website size.

CMP implementation: platform selection, CMP configuration, Google Consent Mode v2 integration, server-side tagging assessment, and compliant banner design. Delivered within 2-4 weeks.

Ongoing monitoring: quarterly cookie declaration review, update when marketing stack changes, consent rate monitoring, and regulatory update briefings as AEPD guidance evolves.

ePrivacy preparation: for companies wanting to prepare for the eventual ePrivacy Regulation, we audit the current consent infrastructure against the anticipated requirements and identify the architectural changes that will be required when the Regulation enters into force.

The AEPD’s enforcement record on cookie compliance confirms that the authority is actively inspecting websites and issuing sanctions for non-compliance. Key enforcement trends from 2023-2025:

Most frequently sanctioned violations:

  • Absence of a compliant consent banner (cookies active without any consent mechanism).
  • Pre-consent cookie activation (cookies firing before the user interacts with the banner).
  • No rejection option in the first banner layer (dark pattern, requiring the user to navigate to a settings panel to decline).
  • Incomplete cookie declaration (undisclosed cookies, inaccurate retention periods, missing data controller information).
  • Using scrolling or continued browsing as implicit consent (explicitly rejected by AEPD and the EDPB).

Fine range: AEPD fines for cookie violations typically range from EUR 5,000 to EUR 200,000 depending on the severity of the violation, the size of the organisation, the intentionality of the violation, and the remediation measures taken. Repeat violations attract higher fines.

Proactive investigations: the AEPD conducts proactive website sweeps in addition to responding to complaints. Organisations in high-profile sectors (e-commerce, digital media, financial services, healthcare) have faced proactive inspections regardless of whether any complaint was filed.

Cookie compliance obligations extend beyond websites to mobile applications that use tracking technologies to collect personal data from users. Mobile apps frequently use:

  • Device identifiers (IDFA on iOS, GAID on Android) for advertising attribution.
  • In-app analytics SDKs that collect usage data and send it to third-party analytics providers.
  • Crash reporting tools that may capture personal data in exception logs.
  • Push notification systems that link device identifiers to user profiles.

The consent requirement for these technologies is the same as for web cookies: prior, informed, specific, and freely given consent for any processing that is not strictly necessary for the service. Apple’s App Tracking Transparency (ATT) framework and Android’s privacy sandbox are the platform-level mechanisms for managing advertising tracking consent on mobile. GDPR compliance requires that the consent collected through these platform mechanisms also satisfies GDPR requirements — which in practice means aligning the in-app consent UX with GDPR standards, not just the platform’s technical requirements.

A Spanish e-commerce retailer (EUR 15 million online revenue, 180,000 monthly unique visitors) had a cookie banner that allowed users to click “Accept all” or close the banner with the X button — treating the X click as acceptance of all cookies. The platform used Google Analytics 4, Google Ads conversion tracking, Meta Pixel, and a retargeting platform. None of the marketing cookies were blocked before consent.

BMC’s audit findings:

  • X button treated as acceptance: clear dark pattern, sanctionable under AEPD guidance.
  • Marketing cookies firing on page load: pre-consent activation, primary LSSICE violation.
  • No rejection option in the first layer: required navigation to “Cookie settings” to decline — another dark pattern.
  • Cookie declaration: 4 undisclosed cookies from the retargeting platform, incorrect retention periods for GA4.

Remediation:

  • Replaced the X button with a “Reject all” button of equal prominence to the “Accept all” button.
  • Implemented pre-consent blocking: all marketing cookies now blocked until the user actively accepts.
  • Configured Google Consent Mode v2 for GA4 and Google Ads: measurement maintained for accepting users, modelled data for non-accepting users (no consent-mode violation).
  • Updated cookie declaration with all 4 previously undisclosed cookies and corrected retention periods.
  • Configured server-side tagging for Meta Pixel to reduce cookie reliance.

Post-remediation: consent rate maintained at approximately 62% (industry average for Spain). Marketing measurement maintained through Consent Mode modelling. Zero AEPD inquiries in the 18 months following remediation.

Track record

Real results in cookie compliance

We thought our cookie banner was standard. BMC's technical audit found 23 third-party cookies firing before consent, and a reject button buried three layers deep in settings. Fixed in four weeks. We have had no AEPD issues since.

Iberian Media Group S.A.
Head of Digital Marketing

Experienced team with local insight and international reach

What our cookie compliance service includes

CMP Implementation

Configuration or implementation of the Consent Management Platform in compliance with AEPD requirements, including consent logging and pre-consent blocking of third-party scripts.

ePrivacy Regulation Readiness

Impact analysis of the forthcoming ePrivacy Regulation on the consent system and a roadmap for adaptation when the Regulation enters into force.

Guides

Reference guides

Post-Brexit: your British company operating in Spain with the right structure

post-Brexit advisory for UK companies operating in Spain: entity structuring, customs and VAT, work permits for British nationals, UK-Spain tax treaty optimisation and data protection compliance.

View guide

AML compliance in Spain 2026: what your business must know about anti-money laundering regulation

Spain AML compliance 2026: SEPBLAC obligations, risk-based approach, PBC manual, UBO verification, and suspicious transaction reporting. Expert service from BMC.

View guide

Comprehensive legal services for businesses

Comprehensive legal advisory for businesses: commercial, employment, contracts, regulatory compliance, and dispute resolution. A dedicated legal team to protect your company.

View guide

Buy property in Spain with confidence — and without the horror stories

Buying property in Spain 2026: NIE, conveyancing, ITP tax, mortgage advice, and due diligence for foreign buyers. Step-by-step guide from BMC property lawyers.

View guide

The collective agreement that governs your workforce: understand it and negotiate from strength

Spain collective bargaining guide: union negotiation obligations, ERE/ERTE triggers, works council rights, agreement registration, and how BMC protects employer interests.

View guide

Your commercial lease agreement: get the clauses right before you sign

Spain commercial lease guide: LAU legal framework, rent review clauses, break options, guarantee structures, and key negotiation points for tenants and landlords.

View guide

Service Lead

Bárbara Botía Sainz de Baranda

Senior Lawyer — Legal Division

Registered no. 11,233, Málaga Bar Association (ICAM) Law Degree, University of Murcia BBA in Business Administration, University of Murcia
FAQ

Frequently asked questions about cookie compliance in Spain

Only strictly necessary cookies — those indispensable for the service explicitly requested by the user — are exempt from consent. This includes session cookies, authentication cookies, security cookies, and user preference cookies where they are strictly required. All others require prior, informed consent: analytics cookies (Google Analytics, Adobe Analytics), advertising cookies, social media cookies, and performance measurement cookies must not be set before the user actively consents.
The AEPD requires consent to be: free (no penalty for the user who rejects), specific (separately for each purpose), informed (the user knows what they are consenting to and why), and unambiguous (a positive action — never a pre-ticked box or consent by continued browsing). Rejection must be as easy as acceptance: if there is an Accept all button, there must be a Reject all button at the same level of visibility in the first layer of the banner.
No, under the AEPD Cookie Guidelines. Google Analytics sets analytics cookies requiring prior consent. Some implementations using Consent Mode v2 with IP anonymisation reduce the data collected when users do not consent, but do not eliminate the need for consent for full analytics cookies. Cookieless analytics (server-side tracking with anonymised data) can be a consent-free solution for some measurement purposes.
Google Consent Mode v2 is a technology that allows Google to adjust cookie and tag behaviour based on user consent status. When the user does not consent, Google uses conversion modelling rather than actual data. Implementing Consent Mode v2 is necessary for correctly using Google Ads and Analytics products, but it does not replace the obligation to obtain valid consent — the banner and CMP remain required and must comply with AEPD requirements.
The AEPD recommends periodic renewal, as a general rule every 12 months at most if no changes have occurred. If new cookies are added or the purposes of existing ones change, consent must be renewed earlier. The CMP system must record the date of each user's last consent to manage automatic renewal.
No. If the user has not consented, no cookie requiring consent may be set, regardless of whether it is first-party or third-party. The CMP must block all third-party scripts until the user grants consent. Modern CMP solutions can block Google, Meta, LinkedIn, and other provider scripts until the user accepts.
The ePrivacy Regulation will replace the ePrivacy Directive (transposed in Spain as the LSSI-CE) and will directly regulate cookies, electronic communications, and privacy in the digital environment across the EU. Its adoption has been repeatedly delayed; the latest projections point to 2025-2026. When it enters into force, it will introduce changes to the cookie consent framework that businesses will need to implement. We monitor legislative developments and prepare your systems for the transition.
Yes, actively. The AEPD has imposed significant sanctions for cookie violations: banners that do not allow rejection as easily as acceptance, missing cookie policies, cookies installed before consent is obtained, and dark patterns in banner design. Sanctions range from warnings to fines of tens of thousands of euros for mid-sized companies, and hundreds of thousands for large operators. The AEPD regularly publishes its criteria and resolutions, which we integrate into our compliance frameworks.
First step

Start with a free diagnostic

Our team of specialists, with deep knowledge of the Spanish and European market, will guide you from day one.

Cookie Compliance & Digital Consent

Legal

Talk to the partner in charge

Response within 24 business hours. First meeting free.

Services
Contact
Insights