BaCheWork and records of a photonics research workhorse
Language

Privacy for a personal site: collect nothing by default, then write a page that says so

Where visitor data flows out, how to switch each flow off, and a template for a privacy page whose structure you can copy.

Type
Essay
Published
2026-10-31
Updated
2026-10-31

1. Principle: collect nothing by default, then write a page that says so

A static portfolio site can already avoid touching visitor data almost entirely. Only two things need doing:

  1. Do not install things you do not need: every extra tracking code, embed or third-party font adds one more stream of visitor data flowing to someone else.
  2. Write a privacy page: list “what is not collected”, “what is collected” and “who it connects to”. A small site can be more specific than a large company.

2. Where data flows out

Source What it receives How it is handled
Cloudflare (hosting) Every request passes through it: IP address, browser type, URL Cannot be avoided; state it on the privacy page and link to its privacy policy
Third-party fonts (for example, loading Google Fonts online) Visitor IP address, pages viewed Host the fonts on your own site (for example, with the Fontsource package) so no font server is contacted
Video embeds (YouTube, Vimeo) The player loads as soon as the page opens Use YouTube’s privacy-enhanced mode (youtube-nocookie.com). Before playback it sets no cookies, but the player still stores a little data in the browser (local storage), and the privacy page should say so accurately
Analytics Depends on the tool See analytics
Social embeds (posts, like buttons) Usually set tracking cookies Replace them with plain links
Forms, comments, newsletter Name, email, comment content Not in the first version; update the privacy page before adding any
Libraries loaded from a CDN Visitor IP address Bundle them into the site wherever possible

The trade-off for video embeds: “loading the player only after the thumbnail is clicked” protects privacy the most, but search engines cannot see the video, so it will not appear in video search results. To get the video found in search, load the player when the page opens and say so on the privacy page. Both are reasonable; pick one and write it down.

3. Privacy page template

You can write it using this structure (using the /privacy/ page on wizerdbache.com as the example; adjust the actual content to your site):

---
title: Privacy notice
updated: 2026-11-01
---

## What this site does not collect
- No tracking code, and no IP addresses are logged.
- This site itself sets no cookies.
- There are no forms, comments or newsletter, so your name or email is never collected.
- Fonts are hosted on this site and do not connect to Google Fonts.

## What this site collects
- (Only write this if you install counting or analytics: what is collected, how long it is kept, and why)

## Places that connect to other services
| Service | When | What it receives |
|---|---|---|
| Cloudflare | Every time someone opens this site | Every connection passes through it: IP address, browser type, URL. Handled under the Cloudflare privacy policy |
| YouTube | When opening a page with a video | (write this according to how you embed it) |

Once you follow an external link, that site's rules apply.

## Questions
You can reach me through (contact method). Whenever the site adds a feature that collects data, this page will be updated first.

Writing tips:

  • Put “what is not collected” first: for a personal site, that sentence alone is the best explanation.
  • One line per third party: its purpose and what it receives.
  • Give concrete numbers: if you later collect email, write a specific period such as “kept for a few months after the reply”, not just “as long as necessary”.
  • Put a “Privacy” link in the footer of every page.
  • Once you have forms, a newsletter or memberships, state clearly that data from each channel is not merged (for example, newsletter emails do not become contact records).

4. Regulations (not fully verified; please check before writing)

  • Article 8 of Taiwan’s Personal Data Protection Act requires that, when you collect personal data from a person, you inform them of the collector’s identity, the purpose, the categories of data, the period, area, recipients and method of use, the person’s rights, and the consequences of not providing the data. A notice page on the site can serve as that notice.
  • I have not found a clear answer on whether a portfolio that collects no data at all still has a legal duty to post a notice page. Posting one does no harm.
  • Once you have a contact form or newsletter, you are collecting email addresses, and you should state the items above clearly.
  • If visitors include EU users, GDPR requires consent for cookies and analytics. This is also why the advice is to set no cookies and install no analytics that need consent: without cookies, no cookie banner is needed.

This is not legal advice. For the current text of the law, check the national laws and regulations database.

Sources

  1. YouTube privacy-enhanced mode (Google official) (Official)
  2. Cloudflare Privacy Policy (Official)
  3. Laws and Regulations Database of Taiwan: Personal Data Protection Act (Original law text)

← Previous:Portfolio site structure: URLs, home page order, and how to write work pages

Next:Should a personal site have analytics? Five options compared →