Product Analytics

Moneat Product Analytics provides cookie-free web analytics. Track pageviews, visitors, referral sources, and custom events without cookies, personal data storage, or third-party scripts.

Availability

Product Analytics is included on standard plans. Site, pageview, and retention limits vary by plan; see Billing & Plans for details.

Key features

  • Cookie-free sessions - Derived from server-side hashing (daily salt + domain + IP + User-Agent), never from client storage
  • No personal data stored - IP addresses and User-Agent strings are used transiently for enrichment, then discarded
  • Sub-1 KB tracking script - ~670 bytes gzipped, minimal performance impact
  • SPA support - Automatic tracking of client-side navigations via the History API
  • Custom events - Track conversions, signups, downloads, and any user interaction
  • Respects Do Not Track - Honors the browser's DNT setting by default
  • Real-time visitors - See active visitors using Redis HyperLogLog
  • Funnel analysis - Measure conversion through ordered event sequences
  • UTM campaign tracking - Full attribution with source, medium, campaign, term, and content
  • Advanced filtering - Segment data by page, source, country, browser, device, and more
  • Comparison periods - Compare metrics against the previous period or year-over-year

How it works

Browser                   Moneat Server                        ClickHouse
  │                            │                                    │
  │── pageview event ─────────►│                                    │
  │   (pathname, referrer,     │── Extract IP (from headers)        │
  │    UTM params, etc.)       │── Parse User-Agent                 │
  │                            │── GeoIP lookup (IP → country)      │
  │                            │── Generate session hash:           │
  │                            │   SHA-256(salt │ domain │ IP │ UA) │
  │                            │                                    │
  │                            │── DISCARD IP address               │
  │                            │── DISCARD raw User-Agent           │
  │                            │                                    │
  │                            │── Store enriched event ───────────►│
  │                            │   (session_id, country, browser,   │
  │                            │    pathname, referrer, etc.)        │
  │                            │                                    │
  │◄── 202 Accepted ──────────│                                    │

Events are processed on ingestion: IP and User-Agent are used to derive the session ID, country, and device info, then permanently discarded. Only the enriched, anonymized event is stored in ClickHouse.

Quick start

Get analytics running on your site in under a minute:

1. get your service key

Navigate to your service's Settings page in the Moneat dashboard. Your service public key (the same one used for error monitoring) authenticates analytics events.

2. add the tracking script

HTML
<script
  defer
  data-domain="yoursite.com"
  data-key="your-service-public-key"
  src="https://your-moneat-instance.com/js/m.js"
></script>

3. view your dashboard

Navigate to Analytics in the sidebar. Data appears within seconds of the first pageview.


Next steps: