Skip to content

Analytics

Analytics collects Visits and product Events and derives every Metric from them, split by Version.

Agent traffic counts the same as human traffic.

Contract

A Visitor is an unnamed id scoped to one Startup. A Visit is one span of a Visitor's Events across the Startup's Sites and Apps. When a Visitor becomes a Lead or a Customer, earlier Visits join that record.

RuleDetail
Declared Events onlyOnly declared Event names feed Metrics; a typo in a tracking call creates no phantom Metric
Derived, never typedA Metric has a definition, window, population and source, and recomputes from Events
Revenue from the ledgerRevenue Metrics read ledger Entries, so they agree with the books to the cent
Outside revenue apartRevenue from sibling Startups is reported separately from outside Customers
Variant on every EventEvery Event carries its Version and Flag variant, so any Metric splits after the fact
Consent by regionA Visitor without Consent is counted in aggregate and never profiled
Agent buyersAn MCP call or API request from an Agent is an Event like a page view

The Product analytics System builds funnels and cohorts on this capability.

Verbs

VerbObjectEvent
Visit.listVisitNone.
Metric.getMetricNone.

Interfaces

Example

streakly.app, a habit-tracking App, defines activation as a first check-in within seven days of Order.paid. Activation drops from 61 to 44 percent after Version 12. Split by Version, the drop traces to a new onboarding screen, and the Startup reverts it.