Cosmic is an AI-first app development, deployment, and content management platform. Build and deploy anything you can imagine using natural language, in minutes.
This is the 23rd launch from Cosmic. View more
Cosmic Insights
Launching today
Most CMS + analytics setups are two systems duct-taped together. You ship content, then squint at a separate dashboard trying to match slugs to posts.
Cosmic Insights fixes that. Cookieless web analytics built directly into Cosmic. Every pageview, session, and revenue event is attributed to the exact CMS object that produced it.
One script tag. No cookies. No banners. GDPR-friendly by default. Included free on every plan.




Launch Team




Cosmic
Hey PH! Tony here, CEO of Cosmic.
We do a lot of content creation and dogfood Cosmic heavily. For years we were stitching together third-party analytics and it was never ideal. Manually connecting what was performing back to what we'd written, and that context never made it back to our AI agents cleanly.
So we built Cosmic Insights. It sits inside the same platform as your content, so attribution is automatic. Every metric is already tied to the exact Cosmic object that produced it.
A few things I'm especially proud of:
- Agent-readable data: give any AI agent the "Read web analytics" capability and it can pull live numbers and act on them
- Per-content attribution: click any object, see exactly how it's performing
- Cookieless by default: no cookies, no fingerprinting, no banners, GDPR-friendly out of the box
- One-line install: one script tag for any HTML page. AI-built apps get it pre-wired automatically
- Custom events: One line of code for signups, conversions, revenue, and anything else you want to track
Let me know what you think in the comments below.
Built-in CMS analytics that don't rely on cookie banners make for a much cleaner user experience and better data accuracy. Since it operates directly in the CMS layer, does it capture server-side engagement metrics or rely on lightweight client-side scripts?
Cosmic
@rivra_dev Great question! Cosmic Insights uses a hybrid approach. Collection is a lightweight client-side script (about 1KB, loaded with defer), but all the privacy-sensitive work happens server-side.
How it actually works:
Client-side: A tiny script tag captures pageviews, sessions, custom events, and revenue. It's auto-injected into Cosmic-built apps, or one line for any HTML page.
Server-side: IPs are hashed with a rotating salt and immediately dropped, geo lookup happens on our edge, and visitor IDs reset every day at UTC midnight. No cookies, no localStorage, no fingerprinting, so no banners required.
The "built into the CMS" part comes after ingest. Each event is joined back to the Cosmic object that produced the page, so you get per-object attribution (which post drives traffic, which to retire) without any extra tagging. AI agents in Cosmic can then read that performance data directly to ground their next move.
So: client-side capture for breadth and accuracy, server-side processing for privacy, and a CMS-native join layer that pure analytics tools can't really do.