# Analytics Hub

> CMS-aware, privacy-first analytics hub for EmDash — pageviews, campaigns, funnels, goals, and more.

Source: https://emdashcmseverything.com/plugins/analytics-hub/

- Category: Analytics
- Status: available
- Version: 0.3.0
- Price: Unknown
- Compatibility: EmDash CMS
- License: MIT
- Maintainer: facuzarate04
- Download: https://www.npmjs.com/package/em-analytics-hub
- Repository: https://github.com/facuzarate04/em-analytics-hub
- Published: 2026-06-01

CMS-aware, portable, privacy-first analytics for EmDash. Track pageviews, UTM campaigns, custom events, funnels, goals, forms analytics, and more — segmented by route, template, and collection. Works on Cloudflare Workers and Node.js.

## Installation

```bash
npm install em-analytics-hub
```

```typescript
import { analyticsHub } from "em-analytics-hub";

export default defineConfig({
  integrations: [
    emdash({
      plugins: [analyticsHub()],
    }),
  ],
});
```

## Features

- Dashboard inside EmDash admin
- Pageviews and unique visitors
- Top pages with template and collection segmentation
- Referrer breakdown and UTM attribution
- Custom events with counts, trends, and property breakdowns
- Funnels, goals, and forms analytics
- Configurable data retention (default: 365 days)

## Privacy

No cookies, no fingerprinting, no localStorage. Daily-rotating IP hashes. Honors Do Not Track (DNT). Bot and crawler filtering.
