> ## Documentation Index
> Fetch the complete documentation index at: https://86d.store/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Storefront Analytics

> Merchant-owned Storefront event projections for funnel, product, search, and revenue reporting in the Store Runtime.

<Warning>
  **Experimental.** Browser events are reporting input, never commerce truth. They cannot create or change GMV, revenue, Inventory, Loyalty, Payment, Checkout, or Order facts. Build authoritative reports from the server-side domains that own those facts. See [maturity levels](/docs/resources/versioning).
</Warning>

The Storefront Analytics [Module](/docs/concepts/modules) records browser events in the [Store Runtime](/docs/concepts/architecture) database: page views, product views, add-to-cart actions, [Checkout](/docs/concepts/commerce-model) starts, and reported purchases. It builds merchant-owned funnel, product, search, and revenue projections from those events and can feed your [Third-party Analytics](/docs/resources/glossary#third-party-analytics) Integrations.

This Module is Experimental. It is separate from [86d Observability](/docs/resources/glossary#86d-observability), which covers 86d.app and managed-service health and errors, and from your own Third-party Analytics [Integrations](/docs/concepts/connections) such as GA4 or a tag manager.

**Source:** [`modules/analytics`](https://github.com/86d-store/86d/tree/main/modules/analytics) · **npm:** [`@86d-store/analytics`](https://www.npmjs.com/package/@86d-store/analytics)

## Installation

```sh theme={null}
86d module add analytics
```

## Admin endpoints

| Method | Path                            | Description                       |
| ------ | ------------------------------- | --------------------------------- |
| `GET`  | `/admin/analytics/funnel`       | Funnel for a date range           |
| `GET`  | `/admin/analytics/stats`        | Event statistics for a date range |
| `GET`  | `/admin/analytics/top-products` | Top products from recorded events |

## Related pages

* [Audit log](/docs/modules/audit-log) for records of store administrative actions
* [Observe a Store Runtime](/docs/operations/observability) for 86d Observability and Store Runtime error reporting
* [How commerce records relate](/docs/concepts/commerce-model) for the server-side owners of revenue and Order truth
* [Versioning and maturity](/docs/resources/versioning) for what Experimental means
* [Glossary](/docs/resources/glossary)
