# Kokumi vs Google Analytics

The Kokumi column is the feature registry. Planned, In progress, and Needs a decision are not things you can use today.

Google Analytics ties JS browser tracking and 2-year _ga cookies into Google Ads and publisher suites. Kokumi counts people and AI crawlers on your own Cloudflare Worker + D1 at $0 SaaS cost, with a live self-hosted dashboard and zero cookies.

## Stay on Google Analytics if

You bid in Google Ads, build ad audiences, or rely on cross-platform app+web attribution and Search Console linking inside Google's suite.

## Switch to Kokumi if

You want cookie-free analytics on your own Cloudflare account with IP-verified AI crawler and Markdown twin counts, a live self-hosted dashboard, and a CLI for agents. Kokumi drops raw IPs by default (RAW_IP_OPT_IN=false) and detaches geo totals, though compliance decisions stay on your own legal assessment.

## What you give up

- Key events turned into Google Ads conversions, and the Advertising reports that credit touchpoints.
  Checked 2026-11-30. Google Analytics key events: https://support.google.com/analytics/answer/9267568?hl=en

- The tools Google lists beside Analytics: Google Ads, Search Ads 360, Display & Video 360, Google Cloud, and Search Console.
  Checked 2026-11-30. Google Analytics: https://marketingplatform.google.com/about/analytics/

## Comparison

### AI crawlers, checked against published IP lists

Kokumi (Live): Which AI agents read you, verified against operators' published IP lists, and which AI tools sent people over.

GET /api/v1/citations, kokumi citations, and the Dashboard Per-Page Read vs. Cited ledger ship with verified vs. claimed quarantine and .md twin rollup.

Google Analytics: The documented website tag is JavaScript. Those pages do not describe a stored report of crawlers that never run the tag, or a check against an operator's published IP list.

Checked 2026-11-30. Google Analytics cookies: https://support.google.com/analytics/answer/11397207?hl=en

### Markdown twins and llms.txt

Kokumi (Live): Every page, .md twin and llms.txt request counted at Cloudflare's edge, split into people, verified agents, claimed agents, unconfirmed browsers.

Slice 1 counts. classify.rs.

Google Analytics: The cookie and tag page does not mention markdown twins or llms.txt.

Checked 2026-11-30. Google Analytics cookies: https://support.google.com/analytics/answer/11397207?hl=en

### A screen you can read

Kokumi (Live): One screen per site: people today vs usual, top pages, sources, agents.

Self-hosted Cloudflare Worker in dashboard/: counts, posts, health, privacy, proof export, and CLI parity.

Google Analytics: Google describes shareable reports, built-in automation, and cross-platform attribution.

Checked 2026-11-30. Google Analytics: https://marketingplatform.google.com/about/analytics/

### Goals

Kokumi (Live): Mark a form sent, a page reached or a tool used as a goal, with its source.

POST and GET /api/v1/goals with idempotency keys and kokumi goal add.

Google Analytics: Any event can be marked as a key event. Reports count them. Advertising reports credit touchpoints, and a key event can become a Google Ads conversion.

Checked 2026-11-30. Google Analytics key events: https://support.google.com/analytics/answer/9267568?hl=en

### Cookies and IP

Kokumi (Live): Zero cookies, raw IPs dropped by default (RAW_IP_OPT_IN=false), daily rotating SHA-256 salt, and unlinked geo_hits.

Enforced in src/privacy.rs; verified via GET /api/v1/privacy.

Google Analytics: The JavaScript tags set first-party cookies _ga and _ga_ plus the measurement id, for 2 years by default, to distinguish users and sessions. Consent mode is separate and does not include a banner. With analytics_storage denied, those cookies are not read or written, and cookieless pings can still be sent.

Checked 2026-11-30. Google Analytics cookies: https://support.google.com/analytics/answer/11397207?hl=en, Google consent mode: https://support.google.com/analytics/answer/10000067?hl=en

### Self Hosted & Open Source

Kokumi (Live): MIT-licensed Rust Worker + D1 on your own Cloudflare account at $0 SaaS cost.

Deploy with wrangler and D1 via /docs/self-hosting.

Google Analytics: Closed-source hosted service; cannot be self-hosted.

Checked 2026-11-30. Google Analytics: https://marketingplatform.google.com/about/analytics/

### Cloud Hosting

Kokumi (Needs a decision): Managed cloud hosting.

Does not exist. Waitlist only until decided.

Google Analytics: Hosted by Google with Google Ads, Search Ads 360, Google Cloud, and Search Console.

Checked 2026-11-30. Google Analytics: https://marketingplatform.google.com/about/analytics/

### Many sites

Kokumi (Planned): Run every site from one deploy and one dashboard.

Today: one Worker, database and token per site.

Google Analytics: The about page describes measurement across sites and apps.

Checked 2026-11-30. Google Analytics: https://marketingplatform.google.com/about/analytics/

### Bring history with you

Kokumi (Live): Bring your history with you when you switch.

Umami and Plausible CSV and JSON importer via kokumi import and POST /api/v1/import.

Google Analytics: There is nothing to import into. Umami's features page lists an import from Google Analytics. Kokumi's importer does not.

Checked 2026-11-30. Google Analytics: https://marketingplatform.google.com/about/analytics/, Umami features: https://umami.is/features

### Campaigns and tagged links

Kokumi (Live): First-party /go/x/slug redirects, 5-field UTMs, preview-bot isolation, and cookie-free _k landing joins.

GET and POST /api/v1/campaigns, /go/:channel/:slug, kokumi campaigns, kokumi link add|list|archive, and Dashboard Campaigns view.

Google Analytics: Key events can be attributed to touchpoints in the Advertising reports. The about page calls this cross-platform attribution.

Checked 2026-11-30. Google Analytics key events: https://support.google.com/analytics/answer/9267568?hl=en, Google Analytics: https://marketingplatform.google.com/about/analytics/

### A post against your own median

Kokumi (Live): Each post's day 1, 7 and 30 against your own median.

The page script sends an optional label (post, product, or offer), title, and publish time. Kokumi stores that as its own record and joins day 1, 7, and 30 onto existing path counts. A page that sends nothing stays a page.

Google Analytics: The about page and the key events page do not list a post's day 1, 7, and 30 against your own median.

Checked 2026-11-30. Google Analytics: https://marketingplatform.google.com/about/analytics/, Google Analytics key events: https://support.google.com/analytics/answer/9267568?hl=en

## Google Analytics is ahead

- Goals
- Cloud Hosting
- Many sites
- Bring history with you

## Kokumi is ahead

- AI crawlers, checked against published IP lists
- Markdown twins and llms.txt
- Cookies and IP
- Self Hosted & Open Source

## Each does a different half

- A screen you can read
- Campaigns and tagged links
- A post against your own median

A Kokumi win is only the part marked Live or Partly live. Partly live means the data is collected and the answer is not shown yet.

## Switching

- Deploy with the quickstart. Today that is wrangler and the schema, not a one-click button.
- Leave the old tracker in place until you trust the Kokumi counts.
- Use kokumi import umami or kokumi import plausible to load CSV or JSON history into visits.

Importer: Live. Umami and Plausible CSV and JSON importer via kokumi import and POST /api/v1/import.

/switch/google-analytics

## Questions

### Does Kokumi replace Google Ads measurement?

No. A key event can become a Google Ads conversion. Nothing in the Kokumi registry sends conversions to Google Ads.

### Will Kokumi import my Google Analytics history?

No. The Live importer supports Umami and Plausible exports. Kokumi has no Google Analytics importer.
