Skip to content
Infinitnet edited this page Nov 18, 2026 · 4 revisions

Cookieless Analytics

Self-hosted, cookieless web analytics for EmDash CMS sites and any other site, with the reports inside the EmDash admin.

  • Privacy first, with metrics others lack. No cookie and nothing stored on the device unless a visitor opts out, yet real sessions, Search Satisfaction, Search Console and Bing data, funnels and revenue by source.
  • Light and fast. A page script of about 2.7 KB gzipped, loaded with defer and cached for an hour; one request per page view plus one engagement update. Pages never wait for the analytics database, and there is no extra service to run. Measured figures: performance.md.
  • Flexible setup. Deploy a new site with one click or add the npm package to an existing EmDash site. Measure other sites with one script tag or Google Tag Manager. Keep the data in D1 (the default) or in Postgres through Hyperdrive, with a capacity profile for your Cloudflare plan.

Overview page with synthetic data

Start here

  1. Quick install: add the plugin, deploy, check that the first page view arrives.
  2. How visits are counted: sessions and visitors without cookies.
  3. Reports: what each admin page shows and how the header, charts and tables work.
  4. Settings reference: every key with its default.

Features

Page What it covers
Reports Overview, Pages, Sources, Audience, Behaviour, the charts and the header controls
Filters and segments Filter dimensions and operators, saved segments, segment comparison
Search Satisfaction Long clicks, short clicks, bad experiences, pogo sticking, returns from search
Goals and funnels Goal types, funnel modes, conversion reports
Events Every event, how to send it from the page, a server, another plugin or another CMS
Revenue and refunds Orders, currencies, refunds, net revenue, revenue by source
Links report Short link clicks, views and sales
Search integrations Google Search Console and Bing Webmaster data, SEO views
Content and site search Per collection report, internal site search, the editor panel
Dashboards and sharing Custom dashboards, templates, share links, scheduled email
Annotations and impact Chart markers, scopes, automatic annotations, before and after impact
Agent API and MCP API keys, the agent routes, MCP tools
Multi site and Sites view Client sites, linked hosts, the All sites table
Definitions Goals, funnels, segments, rules, annotations, UTM builder, API keys, sites
Data page Storage, export, privacy receipt, deleting matching visits

Running it

Page What it covers
Queue worker The optional queue ingest tier
Capacity profiles and Cloudflare plans Small, Standard and Dedicated profiles, plan limits, own database
Postgres through Hyperdrive The analytics tables in Postgres: setup, caching off, measured latency, Free plan limits, providers
Retention How long detailed rows, summaries and Search rows are kept
Move data Export and import the analytics tables with the ca-data tool: backups and moves between accounts
Bot handling How bots are kept out of the numbers
Privacy model What is stored, what is not, privacy signals, consent by country
Troubleshooting Symptoms, causes and fixes
Upgrade Updating the package
Registry companion Cookieless Analytics Companion: the setup assistant in the EmDash plugin registry

Screenshots

All screenshots in this wiki show synthetic data for example.com with invented numbers.

Full reference

The docs folder of the repository holds the full reference these pages condense. Where a number differs, the repository docs are right.

Clone this wiki locally