Which rules apply to web analytics
Two laws work together. The Federal Act on Data Protection (FADP) governs how you process personal data. Art. 45c of the Telecommunications Act (TCA) governs when you may process data on your visitors' devices, for example through cookies and similar technologies. How the Federal Data Protection and Information Commissioner (FDPIC) interprets both is set out in its guideline on cookies and similar technologies, version 1.1 of 6 October 2025.
Whether web analytics data is personal data at all depends on the case. The FDPIC states that cookie IDs can be personal data even without a name and recommends assuming they are when in doubt. Planning on that basis keeps you on the safe side.
When consent becomes necessary
According to the FDPIC, neither the FADP nor Art. 45c TCA makes consent a mandatory requirement for non-essential cookies. That changes with high intensity: if you process sensitive data, such as health data, or carry out high-risk profiling, you must obtain express consent beforehand (guideline, section 3.10, and Art. 6(7) FADP). Federal bodies need express consent even for «normal» profiling and a legal basis for any processing (Art. 34 FADP).
Where consent is needed, Art. 6(6) FADP makes it valid only if it is given freely, for one or more specific processing operations and after adequate information. A blanket agreement to everything does not meet that standard.
Independently of consent, Art. 7 FADP requires data protection by design and by default. Processing must be designed from the planning stage to comply with the rules, and default settings must limit it to what the purpose needs. For web analytics that means measuring only what you need and not keeping data longer than necessary.
Information: what belongs in the privacy policy
Under Art. 19 FADP you inform people at collection about at least:
- the identity and contact details of the controller
- the purpose of the processing, for example audience measurement and improving the website
- the recipients or categories of recipients, which includes the provider of the analytics tool
- for disclosures abroad, the country and the safeguard under Art. 16(2) or the exception under Art. 17 FADP
For web analytics it also makes sense to name the tool, where the data is stored, how long you keep it and how visitors can object. Whether you also need a banner is covered in the guide Cookie banners in Switzerland.
Objection: the duty under Art. 45c TCA
Art. 45c TCA permits processing data on external equipment by means of transmission using telecommunications techniques only in two cases: for telecommunications services and charging, or if users are informed about the processing and its purpose and that they may refuse to allow it. The rule has applied since 1 April 2007. Breaching it intentionally or negligently can lead to a fine of up to CHF 5,000 under Art. 53 TCA.
The FDPIC states that this option to refuse is mandatory for non-essential cookies (section 3.7.2). An overriding private interest does not remove that duty (section 3.7). Private controllers must offer at least a clearly visible way to object (section 3.11.2).
Statistics as a justification: Art. 31(2)(e) FADP
According to the FDPIC, Art. 31(2)(e) FADP is «particularly relevant» for web analytics. Under it, an overriding interest may exist where personal data is processed for purposes not related to specific persons, in particular research, planning or statistics. Three conditions must be met:
- You anonymise the data as soon as the purpose allows. For websites, the FDPIC says this is usually possible straight away.
- You disclose sensitive data to third parties only in a form that does not identify the persons concerned.
- You publish results in a way that the persons concerned cannot be identified.
According to the FDPIC, external analytics tools can meet these requirements too, but only if the provider processes the data solely on your behalf and not for its own purposes. That makes the contract with the provider the key question.
Processors: the contract with the provider
Under Art. 9 FADP you may delegate processing to a processor if it processes the data only as you yourself could and no confidentiality duty prevents it. You must make sure that it can guarantee data security, which Art. 8 FADP requires through appropriate technical and organisational measures. It may engage sub-processors only with your prior approval.
Put this in a contract. Logiwolf provides a data processing agreement under Art. 28 GDPR and Art. 9 FADP, including the technical and organisational measures.
Data abroad: the USA only with certification
If analytics data is stored outside Switzerland, Art. 16 FADP applies. Disclosure is allowed to countries whose data protection the Federal Council has recognised as adequate. The list is in Annex 1 of the Data Protection Ordinance (DPO). For the USA, this has applied since 15 September 2024 only to organisations certified under the Swiss-US Data Privacy Framework. For other providers you need safeguards under Art. 16(2), such as standard contractual clauses recognised by the FDPIC, or an exception under Art. 17, for example express consent.
Whether a provider is certified can be checked on the official Data Privacy Framework list. In your privacy policy you name the country and the safeguard (Art. 19(4) FADP). If all data stays in Switzerland, Art. 16 is not engaged. What this means for Google Analytics is covered in the guide Google Analytics 4 and GDPR.
Records and data protection impact assessment
Art. 12 FADP requires a record of processing activities. It contains at least the identity of the controller, the purpose, the categories of data subjects and data, the recipients, the retention period, the security measures and any disclosures abroad. Under Art. 24 DPO, companies with fewer than 250 employees on 1 January are exempt, unless they process sensitive data on a large scale or carry out high-risk profiling.
A data protection impact assessment under Art. 22 FADP is required in advance where processing may pose a high risk, in particular for large-scale processing of sensitive data or systematic monitoring of large public areas. Whether that applies to your web analytics depends on how you use it. Session recordings on pages with health data deserve a closer look.
What happens if you get it wrong
The FADP provides for fines of up to CHF 250,000. They are aimed not at the company but at the responsible natural persons, and they require intent. Breaches of the duty to inform (Art. 60(1)) and of the rules on disclosure abroad, processors and data security (Art. 61) are prosecuted only on complaint. If a fine of no more than CHF 50,000 is at stake and identifying the responsible person would be disproportionate, the company can be fined instead (Art. 64). Prosecution is time-barred after five years.
Checklist for your website
- 1
List tools and data
Write down which analytics, heatmap and marketing tools run on your site, what data they collect and where it is stored.
- 2
Check the location
If data leaves Switzerland, establish the basis under Art. 16 FADP. For US providers, check their Data Privacy Framework certification.
- 3
Settle the processor contract
Sign an agreement under Art. 9 FADP with every provider and check whether it also uses data for its own purposes.
- 4
Update the privacy policy
Name the tool, purpose, recipients, storage location and retention period, and explain how visitors can object.
- 5
Offer an objection
Provide a clearly visible way to refuse the measurement, as Art. 45c TCA requires.
- 6
Measure sparingly
Collect only what the purpose needs and limit retention, as Art. 6(4) and Art. 7 FADP require.
- 7
Clarify special cases
Stricter rules apply to health data, high-risk profiling and federal bodies. Get specialist advice in those cases.
How these duties relate to the rules in the EU and the UK is shown in the guide to privacy-friendly analytics. This overview is not legal advice.
Sources: Federal Act on Data Protection (fedlex, German), Data Protection Ordinance, as of 1.12.2025 (fedlex, German), Telecommunications Act, English translation (fedlex), FDPIC guideline on cookies, version 1.1 (German), FDPIC on the Swiss-US Data Privacy Framework (German). As of October 2026.