Swiss law: doorbell nameplate and house rules
The picture
- Legal notice = the nameplate by the doorbell: Who lives here, and how do you reach them?
- Privacy policy = house rules for visitors: What happens to what visitors give you or leave behind (their name in a form, traces in the statistics)?
- Cookies = little notes you slip into visitors' pockets so you recognise them again. You have to tell people about that.
How to use the picture: Tell the person in your first answer, before you ask questions or show commands, even if they want a solution straight away.
How you talk
- Don't just ask: If the project or a detail is missing, still give the concrete steps, or write the file as a draft with assumptions marked
[Annahme: …]. The markers[Annahme: …]and[offen: …]stay in German, like the line names indocs/: that's howlagerecognises what is assumed or still open. Only ask about what's missing at the end. - Casual “you”, simple but precise: name the law and the article.
- Always add: “This isn't legal advice. If you're unsure, if you handle sensitive data (health, children) or have a lot of turnover, it's worth asking a professional.”
- Never blindly copy a template from the internet. Every sentence has to fit the site. A policy that names services that don't exist, or forgets real ones, is wrong.
- The Albatros tools answer in German. Pass everything on in English, and always talk to the person in English.
Steps
1. Take stock
Ask and write it down:
- Who runs the site (private person, association, sole proprietorship, GmbH, i.e. a limited company)? Do they sell anything online?
- What data comes in? Contact form, newsletter, order, account, statistics (skill
statistik), embedded maps or videos, fonts from other people's servers. - Where do the services run? Albatros server (Germany/Finland, EU), PostHog (EU), email sending, payment provider (often USA).
- Is the site also aimed at people in the EU (delivery, prices in euros, language)?
2. Legal notice (/legal-notice)
Mandatory for anyone offering goods, works or services online (UWG, the Swiss Unfair Competition Act, Art. 3 para. 1 let. s): clear and complete details of identity and contact address, including email. Recommended even when it isn't mandatory.
- Name or company name (as in the Handelsregister, the Swiss commercial register), legal form
- Postal address (not just a PO box)
- Email address
- if there is one: UID number (Swiss business identification number), Handelsregister entry, responsible person
3. Privacy policy (/privacy)
The revised Data Protection Act (revDSG, the Swiss Federal Act on Data Protection, in force since 1 September 2023) requires you to inform people when you collect personal data (Art. 19). That already happens with a contact form or with statistics that use IP addresses. Contents:
- Who is responsible, with contact details
- Which data, for what (per purpose: contact, newsletter, order, statistics)
- Who it goes to (hosting, statistics, email sending, payment), with the country. For countries without adequate data protection: which safeguards apply
- How long it's kept
- Visitors' rights: access (Art. 25), correction, deletion, and how to exercise them
- Date of the last change
If the site is also aimed at people in the EU, the GDPR (General Data Protection Regulation, in German DSGVO) may apply as well (Art. 3(2) GDPR). Then also name the legal basis for each purpose.
4. Cookies and statistics (Cookies und Statistik)
- Switzerland: anyone who sets cookies has to inform people about the processing and its purpose, and say how to refuse them (Art. 45c FMG, the Swiss Telecommunications Act). A note in the privacy policy is usually enough for that.
- EU audience: cookies that aren't necessary (statistics, advertising) need consent beforehand. Then a banner with an equally easy “Reject”.
- Simplest of all: no unnecessary cookies. The statistics from the skill
statistikrun without cookies. Host fonts locally instead of loading them from other people's servers.
5. Login and entrance
Applies when the site has a login (recipe mitglieder, building block eingang, skill bausteine).
- The login cookie (
__Host-sitzung, valid for 5 days, unreadable for scripts in the browser) is needed so that someone stays signed in. Art. 45c FMG requires the information for this one too: that it's set, what for, and how to refuse it (without this cookie, signing in doesn't work). One sentence in the privacy policy is enough. This cookie needs no banner and no consent, not even for visitors from the EU: strictly necessary cookies are exempt from consent there (Art. 5(3) of the ePrivacy Directive). - Logs: PocketBase logs every visit with the IP address and deletes the entries after 5 days (admin area → Settings → Logs). The entrance writes one line per visit, without IP address, without cookie and without anything that identifies the person. Both go into the privacy policy, with the retention period.
- Retention: an account stays until the person or the admin area deletes it. Requests the admin area doesn't approve, it deletes after 30 days at the latest (suggestion; note it in
docs/betrieb.md). Being signed in ends after 5 days or when signing out on this device. - Sentence for the person's privacy policy (adapt it, and don't take over anything the site doesn't have):
Members' area: for signing in, we store name, email address, password (only as an unreadable fingerprint) and whether the admin area has approved the account, until the account is deleted. When you sign in, we set a necessary cookie (“__Host-sitzung”, 5 days) so that you stay signed in; without this cookie, signing in isn't possible. Our server logs visits with the IP address for 5 days.
6. Marketing emails
Advertising by email only with prior consent (UWG Art. 3 para. 1 let. o). Exception: your own customers, who were told when they bought that they can refuse, for your own similar offers. In every email: the correct sender and a simple, free unsubscribe link. Newsletter sign-up with a confirmation email (double opt-in), so the consent can be proven.
7. Pictures and texts
Only your own or licensed pictures. Recognisable people only with their permission. See skill inhalte.
8. Build and link the pages
Legal notice and privacy policy as pages of their own, reachable from the footer of every page, at /legal-notice and /privacy, as in the draft (skill entwurf); pruefen.mjs finds them under these names. A logbook entry (skill git-logbuch); they go online with the whole site when going live (skill lancieren). Note in docs/plan.md: “Check the privacy policy whenever a new service is added.”
Check the mission
mission_pruefen with webseite-07-recht-ch. The check looks on the island at whether the project is at least at the step “Prüfung” (the check; skill webseite-bauen, step 5): the legal notice and privacy policy run on the computer and are linked in the footer of every page. From outside you check both when going live (pruefen.mjs --live, skill lancieren).
Final message
Your last message in this step starts with one sentence on the picture “doorbell nameplate and house rules” that sums up the core once more. Then: what's done, where the result is, what's still open and what comes next.
