Privacy policy
This is the personal website of Achraf Belarif. This page explains what data is processed when you visit it, why, and what rights you have, in line with the EU General Data Protection Regulation (GDPR) and the ePrivacy rules on cookies.
Who is responsible
Achraf Belarif, Casablanca, Morocco — contact@belarif.com. Contact this address for any privacy question or request.
What is collected
Server logs
Like any website, the hosting provider receives technical data needed to deliver pages: your IP address, browser type, requested URL, and time of the request. This is processed on the basis of legitimate interest (GDPR Art. 6(1)(f)) to serve the site and keep it secure, and is kept only for the provider’s standard log retention period.
Analytics (only with your consent)
If you click “Sure, count me in” in the analytics banner, two analytics tools are loaded. The legal basis for both is your consent (GDPR Art. 6(1)(a)). If you click “No thanks” or ignore the banner, neither is ever loaded.
Google Analytics 4 (Google Ireland Ltd. / Google LLC) measures page views, approximate location (country/city), device and browser type, and how visitors navigate the site. It sets first-party cookies (_ga, _ga_*) that last up to 2 years. Google may process this data in the United States under the EU–US Data Privacy Framework. Event data is kept for at most 14 months.
PostHog (PostHog Inc., EU Cloud, data stored in Frankfurt, Germany) measures page views, clicks on links and buttons, page load performance, and approximate location, device, and browser. It also records session replays — a reconstruction of how pages were scrolled and clicked — with anything you type masked. Your IP address is used only to estimate your approximate location and is then discarded, not stored. It sets a first-party cookie and local storage entry (ph_*) that last up to 1 year. Requests are sent through this site’s own domain (/ingest) and forwarded to PostHog’s EU servers. Event data is kept for up to 1 year and session replays for up to 30 days.
Stored in your browser
Your theme choice (light/dark) and your cookie choice are saved in your browser’s local storage. They never leave your device and are strictly necessary for the features you use.
If you email me, I use your address and message only to reply, and delete them when the conversation is no longer needed.
What is not collected
No account, contact form, advertising, or tracking pixels. Fonts are served from this site, not from Google. The “last updated” date in the footer is fetched by the server, so your browser does not contact GitHub. External links (GitHub, LinkedIn, Credly) are governed by those sites’ own privacy policies once you follow them.
Your rights
You can request access to, correction, or deletion of your data, restrict or object to its processing, and ask for data portability. You can withdraw analytics consent at any time — withdrawing does not affect processing done before. You also have the right to lodge a complaint with the data protection authority in your EU country of residence.
— change or withdraw your analytics choice.
Changes
If this policy changes, the date at the top of this page will be updated.