Privacy Policy

Last updated: April 2, 2026

Introduction

This website (williamtong.dev) is a personal portfolio operated by William TONG. This policy explains what data is collected, why, and how it is handled.

Data collected

Analytics (page views)

When you visit a page, the following is recorded: page path, IP address, referrer URL, and user agent. This data is used solely to understand traffic patterns. It is stored on the server and not shared with third parties.

Chat

When you use the chat feature, your messages are sent to OpenRouter (openrouter.ai), a third-party AI inference provider, to generate responses. Your IP address is used for rate limiting (max 20 requests per minute). Chat messages and IP addresses are stored on the server for analytics purposes.

Language preference cookie

If you manually switch the site language, a cookie named "locale" is set to remember your choice (value: "en" or "fr", expires after 1 year). This cookie is only set after you explicitly toggle the language. No cookie is set on first visit — the site reads your browser language automatically. This cookie is exempt from consent requirements under the ePrivacy Directive as it is strictly necessary to provide a service you requested.

What is NOT collected

No advertising trackers, no third-party analytics (Google Analytics, etc.), no fingerprinting, no personal accounts, no email collection beyond direct contact.

Data retention

Analytics data is capped and automatically pruned: page views (10,000 max), chat conversations (1,000 max), visitors (5,000 max). Older entries are dropped when these limits are reached. There is no indefinite retention.

Third-party services

OpenRouter (openrouter.ai) — receives chat messages to generate AI responses. Refer to their privacy policy for details on how they handle data. Hetzner — hosts the server infrastructure. No other third-party services receive your data.

Your rights

Under the GDPR, you have the right to access, rectify, or delete your personal data. You may also object to processing or request data portability. To exercise these rights, contact: hello@williamtong.dev. You also have the right to file a complaint with the CNIL (cnil.fr), France's data protection authority.

Contact

For any questions regarding this privacy policy, reach out at hello@williamtong.dev.