Opsent

Cookies and tracking

Can you use analytics cookies without consent in Italy?

Updated

In short

The guidelines of the Garante (Italy's data protection authority) allow analytics cookies to be used without consent, as if they were technical, only if they serve aggregate statistics on a single site and, when an external provider runs them, if the data are reduced so that the individual visitor cannot be singled out (for example by masking at least the last part of the IP address). The provider must not combine those data with others or pass them on to third parties. If any of these conditions is missing, a banner and prior consent are needed; a notice is needed in any case.

What the law says

Article 122 of the Codice privacy (Italian Privacy Code) requires consent for every cookie or tool that stores or reads information on the user's device, except those strictly necessary to transmit a communication or to provide the service requested. For tools that measure traffic, the Garante (Italy's data protection authority) has established that, under certain conditions, they can be treated like technical cookies and therefore used without consent.

The conditions are in paragraph 7.2 of the cookie guidelines of the Garante of 10 June 2021. The Garante links them to the duty of data protection by design in art. 25 of the GDPR: the exception applies only if the tool is built to process the bare minimum.

The conditions for third-party analytics

When an external provider collects the statistics, analytics cookies are treated like technical ones only if:

  • they do not allow the individual visitor to be singled out (what the guidelines call singling out): the cookie must not be able to work as a direct and unique identifier;
  • the data are minimised: the same cookie must be able to refer to several devices, so as to create reasonable uncertainty about who receives it. As a rule this is achieved by masking part of the IP address; for IPv4 addresses one measure the Garante points to is masking at least the fourth component, with similar procedures for IPv6;
  • they serve only aggregate statistics;
  • they concern a single site or a single app, so as not to follow the person as they browse different sites;
  • the provider does not combine the data with other processing (for example customer lists or statistics from other sites) and does not pass them on to other third parties. The exception is producing statistics across several domains, sites or apps of the same controller or the same group.

If even one of these conditions is missing, analytics must be treated like other non-technical tools: nothing before consent.

Analytics run in-house

The guidelines add one case: it is lawful, even without the minimisation measures, to carry out statistical analysis across several domains, sites or apps of the same controller, if the controller does the processing itself, provided the analysis remains a statistical count and does not become processing used to take commercial decisions.

A notice is always needed

Treating analytics like technical cookies removes only the need for consent, not the need for a notice. Visitors must know that the tool is there, who provides it, what it is for and how long the data are kept (art. 13 GDPR).

Meeting the Garante's conditions on consent does not settle everything. In its decision of 9 June 2022 on an analytics tool from a US provider, the Garante examined the transfer of data to the United States. It observed that the truncation of the last part of the IP offered by the tool was in fact pseudonymisation, which did not prevent the provider from re-identifying the user with the other information it held, and it held the transfer unlawful. If the provider takes the data outside the European Union, the safeguards for transfers (Chapter V of the GDPR) are needed too, whatever the choice on consent.

What you can check yourself

  • Who collects the data. Is the statistics tool installed on your own server or does it belong to an external provider? If it is external, read the contract and the terms of the service.
  • What the provider does with the data. Do the terms say that the provider also uses the data for its own purposes, cross-references them with other services or shares them? If so, it cannot be treated like a technical cookie.
  • The IP address. Check in the tool's settings whether and how the IP is masked before it is stored.
  • The features switched on. Advertising features, links with ad platforms or with users' login accounts go beyond a statistical count.
  • Your banner. If you have chosen not to ask for consent for analytics, your notice should describe them and say why you consider them equivalent to technical cookies. If in doubt, put them under consent: it is the most cautious choice.

Common mistakes

  • Considering any analytics tool "technical" just because it counts visits.
  • Switching on IP masking but leaving advertising or data-matching features on.
  • Using the same analytics identifier on sites of different controllers.
  • Not mentioning analytics in the notice because "no consent is needed".
  • Thinking that the choice on consent also settles the transfer of data abroad.

Before you publish the site, or after writing its privacy notice and terms, check it with Opsent: paste the address at getopsent.com/en/site-check and in a few minutes you see what is missing, with the law cited. For a general review there is the checklist before launch.

Sources

This guide explains the law in general and is not legal advice on your case. Italian laws link their official Italian text.

See also

  1. Is Google Analytics legal in Italy?Google Analytics is not banned in Italy, but it raises two questions: cookie consent and the transfer of data to the US. What the Garante decided in 2022.
  2. Italian Garante cookie guidelines (10 June 2021): what the banner needsThe Garante's guidelines of 10 June 2021: what an Italian cookie banner must contain, the X to close it, granular choices and when to show it again.
  3. Is a "Reject all" button required on cookie banners in Italy?The Garante's cookie guidelines of 10 June 2021 (para. 7.1): rejecting must be as easy as accepting. The explained X, the Reject button, equal prominence.

Check your site for free

Paste the address: in a few minutes we tell you what is fine, what is not and what to fix, with the law cited.

One moment: we are checking that you are not a robot.