One cookieless analytics for four sites
Engineering
3 December 2026
astabyte.com, ui., ai. and design. send page views to one small API. There are no cookies and no stored IP addresses, and there is one dashboard.
We run four sites: the studio site, Astabyte UI, Astabyte AI and Design by Astabyte. We wanted one view of the traffic without a third-party tracker.
One endpoint
Each site sends a page view to /api/analytics/collect on its own domain. The web server sends the request to the API of the studio site. The API knows the site from the Origin header, so the sites do not need a key or a site ID.
No cookies, no stored IP
The visitor ID is a hash of a secret salt, the date, the IP address and the browser. The API stores the hash, not the IP address. The same visitor gets a new ID on the next day, so we cannot follow a person over time. The country, city and network come from a local IP database and from the country header of Cloudflare.
Respect each product
The rules are not the same on each site. Astabyte AI sends a page view only after the visitor allows analytics in the cookie card. Design by Astabyte counts only public pages: the editor, shared links and MCP renders stay out.
One dashboard
The CMS shows all four sites, or one site at a time: page views, visitors, pages, referrers, campaigns, countries and devices. A list of potential clients connects the visits of a day to the briefs that came in through the contact form.
Count what helps you decide. Store nothing that you do not need.
