Guide · EU website compliance

Cookie banners and privacy notices in Germany, Spain and Italy

If your small business website serves visitors in Germany, Spain or Italy, two sets of rules apply. National cookie laws decide when you need consent before setting a cookie. The GDPR decides what your privacy notice must say. This guide reads each law from the official source and puts the three countries side by side.

By Velozgida Technologies · Updated 28 November 2026

Quick answer

In all three countries, storing or reading information on a visitor’s device needs prior consent after clear information, unless it is strictly necessary for a service the visitor asked for, or is only for sending a communication. Germany sets this in § 25 TDDDG, with fines up to €300,000. Spain sets it in article 22.2 of the LSSI, a minor offence fined up to €30,000. Italy’s Garante guidelines add that scrolling is not consent, closing the banner with an X means no consent, and cookie walls are generally unlawful. Your privacy notice must also give the information in GDPR article 13.

The cookie rules side by side

PointGermanySpainItaly
Main law§ 25 TDDDG (formerly TTDSG)Ley 34/2002 (LSSI), article 22.2Garante cookie guidelines of 10 June 2021, applying EU rules
Default ruleConsent based on clear and comprehensive information, under GDPR standardsConsent after clear and complete information, in particular on the purposesConsent by an active, deliberate act of the user
No consent neededSole purpose is sending a message over a public network, or strictly necessary for a digital service the user expressly asked forTechnical storage only to transmit a communication, or strictly necessary for a service the user expressly asked forTechnical cookies; analytics can count as technical under strict conditions, such as masking at least the last part of an IPv4 address
Browser settingsNot addressed in § 25 itselfConsent may be given through browser settings where technically possible and effectiveNot treated as a substitute in the guidelines we read
Scrolling as consentNot addressed in § 25Not addressed in article 22.2Not valid on its own, citing EDPB opinion 5/2020
Closing the bannerNot addressed in § 25Not addressed in article 22.2An X closes the banner and keeps the defaults, so no tracking; it must be as visible as the other buttons
Cookie wallNot addressed in § 25Not addressed in article 22.2Unlawful, unless an equivalent service is offered without consent, assessed case by case
Asking againNot addressed in § 25Not addressed in article 22.2Not before at least 6 months after the banner was last shown, unless something changes
Maximum fine for the cookie ruleUp to €300,000 (§ 28(1) No. 13 and § 28(2) TDDDG)Minor offence: up to €30,000 (articles 38.4(g) and 39.1(c) LSSI)Enforced under GDPR and national law; not quantified in the guidelines

Read from gesetze-im-internet.de, boe.es and garanteprivacy.it on 28 November 2026. “Not addressed” means the specific article we read does not mention it; national regulators may have guidance on it. The Spanish data protection authority (AEPD) publishes a cookie guide we could not read in full, so it is not cited. This is general information, not legal advice.

The shared core: consent unless strictly necessary

All three countries implement the same EU rule from the ePrivacy Directive, so the core is identical. You may store information on a visitor’s device, or read information already there, only with consent after clear information. Two exceptions run through all three laws:

  • Transmission: storage or access whose only purpose is sending a communication over a network.
  • Strictly necessary: storage or access that is strictly necessary to provide a service the visitor expressly asked for, such as a login session or a shopping basket.

Advertising pixels, retargeting and most third-party trackers fall outside both exceptions, so they need consent before they load.

Germany: § 25 TDDDG

§ 25(1) of the TDDDG says storing or accessing information on a user’s terminal equipment is allowed only if the user has consented on the basis of clear and comprehensive information, and that the information and consent follow the GDPR. § 25(2) gives the two exceptions above, with the second phrased as storage or access “unbedingt erforderlich” (strictly necessary) for a digital service the user expressly requested.

Breaching § 25(1) is an administrative offence under § 28(1) No. 13, with a fine of up to €300,000 under § 28(2). German websites also need an Impressum, covered in our Impressum guide.

Spain: article 22.2 LSSI

Article 22.2 of Ley 34/2002 lets providers use storage and retrieval devices on users’ terminals if users have consented after receiving clear and complete information, in particular about the purposes. It adds that, where technically possible and effective, consent may be given through appropriate browser or app settings. The same two exceptions apply.

Using such devices without the information or consent required by article 22.2 is listed in article 38.4(g) as a minor offence (infracción leve). Article 39.1(c) sets the fine for minor offences at up to €30,000. Higher tiers exist for serious offences, which this guide does not cover.

Italy: the Garante’s 2021 guidelines

Italy’s data protection authority, the Garante, published its cookie guidelines on 10 June 2021, in the Gazzetta Ufficiale of 9 July 2021, and gave site owners six months from publication to comply. The practical points for a small business site:

  • Scrolling is not consent. The guidelines quote the EDPB that scrolling alone is never enough.
  • The X button. A visitor must be able to close the banner with an X, usually top right, and keep browsing without being tracked. The X must be as visible as the other buttons.
  • No cookie walls. Forcing consent as the price of entry is unlawful, unless an equivalent service is available without consent, judged case by case.
  • Don’t nag. Show the banner again only after at least 6 months, or when something material changes.
  • Analytics. Analytics cookies can be treated as technical, and used without consent, under conditions. One measure the guidelines name is masking at least the fourth part of an IPv4 address.

The privacy notice: GDPR article 13

Cookie consent is only half the job. When you collect personal data, for example through a contact form, GDPR article 13 requires you to tell people, at the time you collect it:

  • who you are and how to contact you;
  • your data protection officer’s contact details, if you have one;
  • why you process the data and the legal basis;
  • your legitimate interests, if that is the basis;
  • who receives the data;
  • whether it goes outside the EU and on what safeguards.

Article 13(2) adds further items, such as how long you keep the data and the visitor’s rights. Breaching the data subject rights in articles 12 to 22 falls under article 83(5), with fines up to €20 million or 4% of worldwide annual turnover, whichever is higher. These are ceilings, not typical fines.

A checklist for a small business site

  1. List every cookie and tracker, including ones added by plug-ins, embedded maps and videos, chat widgets and ad pixels.
  2. Mark each one as strictly necessary or not.
  3. Block non-essential trackers until the visitor consents. Test it: load the page in a private window and check nothing fires before a choice.
  4. Give equal choices. Make accepting and refusing equally easy; for Italy, include a visible X.
  5. Write a privacy notice covering article 13 in the visitor’s language.
  6. Add an Impressum if you target Germany.
  7. Re-check after every new tool, because marketing tools often add trackers you did not choose.

Where Velozgida fits

Velozgida is an in-house web design and development studio in Srinagar, India, founded in 2019, with 150+ projects delivered. Our $599 local-language website offer for European cities and our custom builds include a consent setup that blocks trackers until visitors agree, plus a privacy notice page filled with details you supply. We are not lawyers, so have the final wording reviewed. We have not yet worked with clients in Germany, Spain or Italy.

Want your cookie setup checked?

Send us your website address. We will list the trackers we find, show which load before consent, and give a fixed quote for any fixes, with a free homepage design concept if you need a new site.

Book a free 20-min call Contact Velozgida

Frequently asked questions

Do I need a cookie banner in Germany?

If your site uses any cookie or tracker that is not strictly necessary for a service the visitor asked for, yes. § 25 TDDDG requires consent based on clear information, and a breach can be fined up to €300,000. A site using only strictly necessary cookies does not need consent for them.

Is scrolling down the page valid cookie consent in Italy?

No. The Garante’s 2021 guidelines quote the EDPB that scrolling alone is never enough to show consent. Consent needs an active, deliberate act, such as clicking a clearly labelled button. Closing the banner with an X must mean no tracking.

What is the fine for cookie breaches in Spain?

Using cookies without the information or consent required by article 22.2 of the LSSI is a minor offence under article 38.4(g). Article 39.1(c) sets fines for minor offences at up to €30,000. Separate GDPR fines can apply to the personal-data side.

Can I use analytics without consent?

It depends on the country and the tool. In Italy, the Garante says analytics cookies can be treated as technical under strict conditions, such as masking part of the IP address. Germany and Spain only exempt what is strictly necessary for the requested service, so check with an adviser.

Is a cookie banner the same as a privacy notice?

No. The banner handles consent for cookies under national ePrivacy laws. The privacy notice explains how you handle personal data, with the details listed in GDPR article 13, such as who you are, why you process data, the legal basis and who receives it. You need both.

Sources

Market figures are as published by each source and were checked on 28 November 2026. Sources define categories differently, so treat ranges as a guide rather than a quote.

More guides

Related: Impressum requirements in Germany · UK cookie banner rules · Website cost in Europe · Websites for German businesses · The $599 complete website offer

Chat with us Usually replies fast