Website creationnLPD and website

nLPD and website: the technical compliance checklist for SMEs in French-speaking Switzerland

Review your website's Swiss FADP setup: scripts, locally hosted Google Fonts, GTM and Swiss hosting, with a practical technical checklist for SMEs.

Mehdi B.

Co-founder · SEO & digital strategy

nLPD and website: the technical compliance checklist for SMEs in French-speaking Switzerland
In brief

A nLPD-compliant site rests first on technical settings: a data protection statement accessible everywhere, controlled third-party scripts, locally hosted fonts, HTTPS and hosting in Switzerland or the EU. In Switzerland, prior consent to cookies is only required in certain cases, but we recommend it as soon as your site also targets European visitors.

On the Swiss web, your website is the very first showcase of your professional rigour. Within seconds, a demanding prospect, an auditor or a competitor can check whether your platform complies with the legal framework. And contrary to an idea that is still too widespread among SMEs, reconciling nLPD and website is not just a matter of copy-pasting a legal notice page or hurriedly installing a cookie plugin.

Since the new Federal Act on Data Protection (nLPD) came into force on 1 September 2023, compliance requires the concrete application of the principles of Privacy by Design (protection from the outset) and Privacy by Default (protection by default). In plain terms: compliance is first and foremost a matter of technical architecture, code management and control of data flows.

From the silent loading of Google Fonts to the execution of third-party scripts before the user has even made a choice, and including contact forms without explicit validation, flaws invisible to the naked eye remain numerous on showcase and e-commerce sites. Beyond the legal risk, a poorly configured site degrades your display performance, tarnishes your reputation and skews your audience statistics.

Whether you run a WordPress or Shopify site or a custom development, this article sets aside the legal jargon to give you an operational technical compliance checklist. Step by step, find out how to audit your dependencies, clean up your code and secure your users’ experience while preserving the commercial effectiveness of your platform.

Pillar 1: Information and transparency (the user interface / Front-End)

On a website subject to the nLPD, the user interface (Front-End) is the first line of compliance. This is where the contract of trust between your SME and your visitors is established. Transparency must not be hidden in impenetrable jargon: it must be clear, immediately accessible and user-friendly.

The Data Protection Statement (DPD): mandatory and permanent

The Data Protection Statement (often called a Privacy Policy) is the central document required by the nLPD. It must never be inaccessible or hidden behind a complex journey.

  • Permanent access: a direct, clearly visible link must appear in the footer of 100% of your website’s pages, under the explicit name “Data protection” or “Privacy policy”.
  • Mandatory notices under the nLPD:
    1. The identity of the data controller: the legal name of your business, a postal address in Switzerland and a dedicated contact email address for data-related requests.
    2. The precise purposes of collection: clearly explain why you collect data (e.g. order processing, audience measurement, sending newsletters, ad targeting).
    3. The list of third-party processors: mention the tools and platforms that process data on your behalf (web host, Google Analytics, CRM, payment solutions such as TWINT).
    4. Transfers abroad: state whether data is hosted or processed outside Switzerland or the European Union (notably in the United States) and what legal safeguard the transfer relies on.
    5. The rights of Swiss users: remind them of the procedure for exercising their right of access, rectification, objection and deletion of their personal data.

The consent banner (CMP): the rules of a valid Opt-In

In Switzerland, Art. 45c of the Telecommunications Act (TCA) and the nLPD do not impose a general opt-in: for most non-essential cookies (advertising cookies, tracking pixels, behavioural analytics tools), clear information and a right to object that can be exercised at any time are enough. According to the FDPIC guide, express consent becomes necessary for sensitive data, high-risk profiling or unexpected cookies. If your site also targets EU visitors, however, the GDPR requires prior consent. The FDPIC guide also asks that the right to object be displayed prominently, from the first visit and on subsequent ones, and that it can be exercised in a few clicks.

To ensure the technical compliance of your CMP (Consent Management Platform):

  • Prior blocking (Opt-in, recommended and required as soon as you target EU visitors): no non-essential tracking script (Google Analytics, Meta Pixel, LinkedIn Insight Tag) may run before the visitor has expressed their choice.
  • Equal choices (good practice in Switzerland, a GDPR requirement): the “Reject all” (or “Continue without accepting”) button must be as visible and accessible as the “Accept all” button. Hiding the refusal option or relegating it to greyed-out text is considered a deceptive practice.
  • No pre-ticked boxes: in the detailed settings panels (by cookie category), all boxes relating to non-essential cookies must be unticked by default.
  • A simple right to withdraw: users must be able to change or withdraw their consent at any time. Good practice is to leave a discreet mini-widget or a permanent link in the footer (e.g. “Manage my cookie preferences”).

Web forms: distinguishing contact from prospecting

Whether it is a quote request form, a contact form or an event registration, every data collection field must respect the principle of data minimisation.

  • The consent checkbox: add an unticked checkbox with clear text and a link to the Data Protection Statement: Example: [ ] J'accepte que mes données soient traitées pour répondre à ma demande de contact conformément à la Politique de confidentialité.
  • Strict separation of purposes: you cannot automatically add to your marketing newsletter a prospect who has simply filled in a form to request a quote. If you want to subscribe them to your news, a separate, optional box must be offered.
  • Double Opt-In for newsletters: the nLPD does not expressly require it, but we recommend it for any mailing list sign-up, in the form of a confirmation email containing a validation link. This mechanism (Double Opt-In) ensures that consent is traceable and protects your databases against fraudulent or mistaken sign-ups.

Pillar 2: Cleaning up code and third-party dependencies (Under the Hood / Back-End)

While the visible part of your site (Front-End) handles the user relationship, the most frequent data leaks hide in its source code and background scripts (Back-End). To ensure the compliance of a website with the nLPD, you must review the invisible external dependencies that transmit personal data (starting with your visitors’ IP address) to unauthorised third parties.

The trap of external fonts (Google Fonts)

This is one of the most common flaws and one of the easiest to fix. By default, many web themes (notably on WordPress) load fonts directly from Google's servers (fonts.googleapis.com or fonts.gstatic.com).

  • The technical problem: When a user visits your page, their browser automatically sends an HTTP request to Google’s servers to download the font. On this occasion, the visitor’s IP address is transmitted in clear text to American servers, without prior consent and without a hosting agreement. Yet under Swiss law (as under European law), an IP address is personal data.
  • The technical solution: self-host all of your fonts on your own website’s server.
    1. Download the font files in a modern, lightweight format (.woff2).
    2. Store them in your site’s assets folder (e.g. /wp-content/themes/votre-theme/fonts/).
    3. Declare them directly in your CSS stylesheet using the rule @font-face.
  • The secondary benefit: by eliminating the external DNS call to Google, you gain precious milliseconds in your site’s loading time (PageSpeed), a direct SEO optimisation criterion.

Embedding external media and maps (YouTube, Vimeo, Google Maps)

Simply embedding a YouTube video, a Vimeo player or a Google Maps map with an iFrame creates an immediate compliance problem.

  • The technical problem: as soon as the page loads, the tag <iframe> opens a connection to the third-party service's servers and places behavioural tracking cookies on the visitor's device, even if they have never pressed the “Play” button.
  • The technical solutions:
    1. Use the enhanced integration domain: for YouTube, systematically replace the standard URL youtube.com/embed/ by the privacy-friendly domain youtube-nocookie.com/embed/.
    2. Set up a “Click-to-Load” mechanism (two-click solution): block the iFrame from loading by default. Display a static preview image instead, overlaid with an explanatory message: “By clicking this button, you accept the loading of the Google Maps map and the associated interactivity.” The iFrame and its cookies only run when the user explicitly clicks.

Tag governance with Google Tag Manager (GTM)

Google Tag Manager is a great tool for centralising your marketing scripts, but it can quickly become a data sieve if it is poorly configured.

  • The technical problem: if your tags (Meta Pixel, LinkedIn Insight Tag, Hotjar, Google Analytics) are tied to the default “All Pages” (Page View) trigger, GTM will run these scripts instantly when the page is accessed, completely ignoring the user’s consent status in the CMP.
  • The technical solution:
    1. Make tag firing conditional: link each marketing tag to a custom trigger that depends on the consent given on the cookie banner (e.g. the custom event consent_status_update sent by your CMP).
    2. Check strict blocking: an advertising tag (e.g. Meta Pixel) must only fire that if the consent category ad_storage or marketing returns the value granted.
    3. Audit the GTM container regularly: remove old test tags, third-party scripts that are no longer needed and pixels from past providers.

Pillar 3: Data security and web hosting

Beyond transparency and consent, the nLPD (Art. 8) imposes a security obligation: the controller must ensure, through appropriate organisational and technical measures, data security that is adequate to the risk involved, in order to prevent unauthorised access, losses or accidental disclosures. The technical security of your web infrastructure is therefore the third inseparable pillar of your compliance.

Encryption and transfer security (SSL / TLS)

Data transfer between your visitors’ browser and your web server must be fully secured.

  • Widespread HTTPS: your website must have a valid, active SSL/TLS certificate on 100% of URLs. An automatic 301 redirect must be configured to systematically send all HTTP traffic to the secure HTTPS address.
  • The encryption level: make sure your server supports recent versions of the encryption protocols (TLS 1.2 at minimum, TLS 1.3 recommended) and disable the obsolete older protocols (SSL v3, TLS 1.0, TLS 1.1) that have known security flaws.
  • Form protection: data entered in your contact, order or sign-up forms must travel encrypted. A site displaying a “Not secure” warning in the address bar reveals a failure to meet the security obligation that the nLPD places on you, and drives your visitors away in an instant.

Data location and web hosting sovereignty

The nLPD strictly regulates the transfer of personal data abroad. If you send data to a country whose level of protection is judged insufficient by the Federal Council (such as the United States without specific safeguards), you expose yourself to major legal complications. Since 15 September 2024, however, the Federal Council recognises an adequate level of protection for American companies certified under the Swiss-U.S. Data Privacy Framework: check the certification of each American provider before relying on it.

  • The advantage of hosting in Switzerland or the EU: choosing a web host with datacentres located in Switzerland or in the European Union ensures that your data benefits from an adequate level of protection recognised by Swiss law.
  • Backup management (Backups): automatic backups of your site and its database (which contain customer data, addresses and emails) must not be stored on unsecured consumer cloud services. Make sure your backups are encrypted and hosted in a compliant environment.
  • Subcontracting agreements (DPA): check that your web host offers a data processing contract (Data Processing Agreement) formalising its commitments on security, confidentiality and incident management.

CMS security and data breach management (Data Breaches)

Whether you use WordPress, Shopify, Drupal or a custom development, content management systems (CMS) are prime targets for cyberattacks. An unmaintained site quickly becomes an entry point for hacks and data leaks.

  • Ongoing technical maintenance:
    • Apply security updates to the CMS core (Core), themes and extensions/plugins as soon as they are released.
    • Remove plugins that are outdated, no longer maintained by their publishers or unused.
    • Set up a plugin or a web application firewall (WAF) to block brute-force intrusion attempts.
  • Mandatory management of data breaches (nLPD alert procedure): In the event of a security incident leading to a leak of personal data (e.g. a hack of your forms database or unauthorised access to your CRM):
    1. If the breach is likely to result in a high risk to the personality or fundamental rights of the persons concerned, the nLPD (Art. 24) requires you to report it as soon as possible to the Federal Data Protection and Information Commissioner (FDPIC).
    2. You must also inform the persons concerned where this is necessary for their protection or where the FDPIC so requires.

Key takeaway: Setting up encrypted daily backups and a preventive maintenance plan is not just a technical recommendation: it is your best insurance against the consequences of a data leak under the nLPD.

Register and penalties: what the nLPD provides for an SME

Two points often remain poorly understood by executives. The register of processing activities (the list of what you collect, why, who has access and how long you keep it) is the rule, but art. 12 nLPD provides exceptions for companies with fewer than 250 employees whose processing carries a limited risk for the individuals concerned. The data protection adviser remains optional for a private company (art. 10). As for penalties, the GDPR amounts that still circulate do not apply in Switzerland: art. 60 provides for a fine of at most CHF 250’000.-, which targets the responsible individual, for example when they intentionally fail to inform the persons concerned. The company can be fined in their place only in limited cases, for a fine of at most CHF 50’000.- (art. 64). These pointers do not replace legal advice.

nLPD and website: the operational checklist

Here is a summary of the 10 essential checkpoints to audit to ensure your website is technically aligned with the nLPD. Use this table with your technical team, or with us, to identify the items to fix first.

Checkpoint What to check Status
1. SSL / HTTPS encryption Valid SSL certificate on 100% of pages, automatic 301 redirect from HTTP to HTTPS, TLS 1.2+ protocols enabled. ☐
2. Permanent access to the privacy policy Direct, legible and permanent link to the Privacy Policy in the footer of every page. ☐
3. Prior opt-in (CMP) No non-essential cookie (analytics, advertising) runs before the user’s explicit consent (required for EU visitors, recommended in Switzerland). ☐
4. Equal CMP choices The “Refuse” or “Continue without accepting” button is as visible and as easy to reach as the “Accept” button. ☐
5. Contact forms Non-pre-ticked consent box linked to the privacy policy; no automatic ticking for newsletter sign-ups. ☐
6. Email capture & newsletters Double Opt-In procedure enabled (good practice for proof of consent) to validate any mailing list sign-up. ☐
7. Fonts (Google Fonts) Font files hosted locally on your web server (.woff2) without calling fonts.googleapis.com. ☐
8. Third-party media integration Videos embedded via youtube-nocookie.com or disabled by default until the user clicks (Click-to-Load). ☐
9. Google Tag Manager & Consent Mode GTM triggers conditioned on the CMP and configuration of Google Consent Mode v2 for conversion modelling. ☐
10. Hosting & Data Processing Servers and backups located in Switzerland or the European Union, DPA contract signed with the host. ☐

Frequently asked questions about the nLPD and your website

Is a cookie banner mandatory in Switzerland?

Not in the form of a generalised prior consent. The FDPIC guide reminds us of this: neither the nLPD nor Art. 45c TCA requires consent for non-essential cookies. You must, however, inform your visitors and offer them a clearly visible right to object from the first visit, which is precisely what most sites do by means of a banner. Express consent becomes the rule again for sensitive data or high-risk profiling, and prior consent for your EU visitors.

Should we give up Google Fonts?

No, but we recommend hosting them on your own server. When loaded from Google’s servers, they send each visitor’s IP address to a third party before the visitor has made any choice; when hosted locally, they display in exactly the same way without that exchange.

Do Google’s consent rules apply to Swiss traffic?

Yes. Google’s EU user consent policy also covers internet users in Switzerland: if you use Google’s advertising services, you must collect their consent to cookies where the law requires it, and in all cases for ad personalisation. Consent Mode v2 is used to pass this choice on to Google tags.

Technical compliance, an ongoing process

Ensuring that a website complies with the nLPD is not a one-off legal step. It is a global technical clean-up that touches the architecture of your code, the user experience and the control of your marketing tools.

A clean, fast, encrypted and privacy-respecting website inspires immediate trust among Swiss users, while improving your organic search (SEO) performance and display speed.

Also worth reading: once your platform is technically compliant, find out how to make privacy a decisive selling point in our dedicated article: Privacy-First Marketing: turning the nLPD into a growth lever for your business.

Need a technical nLPD diagnosis of your website?

Are you unsure about the compliance of your scripts, the configuration of your CMP or the management of your fonts and GTM tags?

Request a technical audit of your website with the Smart Impact experts. Our teams carry out a full diagnosis of your data flows and support you in bringing your platform into technical compliance in French-speaking Switzerland.

Sources

Mehdi B.
About the authorMehdi B.

Co-founder of Smart Impact. Hooked on the web from the start, he launched his first project in 2006: an online music magazine still running today. With close to 20 years of SEO experience, a Swiss federal diploma in marketing and a solid geek streak, he turns clients' ideas, sometimes hazy ones, into concrete digital projects with his team.

LinkedIn
Further reading