Privacy
This is a personal website. This page lists what data it collects and which services receive it.
Analytics
Every page loads Google Analytics (gtag.js). Google receives page views and device and browser data from your visit, and Google Analytics can set cookies in your browser.
Visitor counter and upvotes
The footer calls /api/counter to show the visitor count. A Cloudflare Pages Function forwards the request to a separate counter service. It passes your cookies to that service and returns any cookie the service sets. Blog post upvotes use the same function and send an identifier for the post. When you upvote a post, the site sets a cookie for that post. The cookie stops repeat upvotes and expires after 30 days.
Your browser keeps the last count for 10 minutes in local storage, so it does not ask again on each page.
Third-party content
- Some blog posts embed content from YouTube, X, and LinkedIn. Your browser contacts these services only on pages that have an embed.
Local storage
The site stores the visitor count in your browser. Google Analytics, the counter service, and the upvote button can set cookies, as described above.
Contact
For questions or to ask for data to be removed, email choudhari.piyush@gmail.com.