Docs/App Analytics
DocsApp Analytics
Free

App Analytics

Zero-config visitor tracking for every deployed app. Page views, unique visitors, sessions, referrers, and top pages — all collected automatically with no third-party setup.

How It Works

A lightweight analytics script (~1.2KB gzipped) is automatically injected into the HTML of every deployed app. It fires on page load and when the user navigates away, sending event data back to the GenMB analytics endpoint.

Zero configuration required

There is nothing to install, configure, or sign up for. Deploy your app and analytics collection begins automatically. Access your data from the Analytics panel in the app editor.

Data is stored per-app and per-day in Firestore. Unique visitor counting uses Redis HyperLogLog in production for accurate cross-instance deduplication, with an in-memory fallback for local development.

What Gets Tracked

GenMB analytics tracks the essential metrics you need to understand how users interact with your deployed apps. No cookies are required and no personal data is collected.

Page Views

Every page load increments the daily page view counter.

Unique Visitors

Daily-deduplicated via browser fingerprint hash. No cookies required.

Session Duration

Time spent on the app per visit. Fired on tab close or visibility change.

Referrers

Normalized referrer domain so you know where visitors come from.

Top Pages

Which paths get the most visits, useful for multi-page React apps.

Session Count

Total number of sessions (not just views) for engagement insights.

Viewing Your Analytics

Access analytics from the Analytics panel inside your app editor. All data is presented in easy-to-read charts and tables.

View time-series charts for page views and unique visitors across 7-day, 30-day, and 90-day periods. Top referrer breakdowns show which sites drive the most traffic to your app.

The top pages list shows which routes get the most views in multi-page apps — focus your refinement efforts on high-traffic areas. Session count and average duration provide engagement metrics, and period-over-period comparisons help you spot trends.

Check analytics regularly after launching to understand user behavior patterns. Use top referrers to identify which marketing channels drive the most traffic, and use top pages to prioritize where to invest your refinement time.

Privacy & Performance

The analytics script is privacy-respecting by design. It collects only aggregate metrics with no personal identifiers.

No cookies or persistent identifiers are stored on the visitor's device. The visitor ID is a daily hash of screen resolution and browser language — it resets each day, making individual tracking impossible.

Automated browser traffic (webdriver detected) is excluded from counts. The script is rate limited to 60 events per minute per IP and uses navigator.sendBeacon for non-blocking session-end events.

Minimal performance impact

The analytics script is only ~1.2KB gzipped and loads asynchronously. It never blocks page rendering or delays user interactions.

Limits

Analytics is available on all plans with the following limits.

90-day data retention

Analytics data is retained for 90 days. After this period, older data is automatically cleaned up. Export or screenshot any important metrics you want to keep long-term.
LimitValue
Data retention90 days
Rate limit60 events per minute per IP
Script size~1.2KB gzipped
Unique visitor dedupDaily (resets at midnight UTC)

FAQs

Do I need to add any tracking code?
No. The analytics script (~1.2KB) is automatically injected into your deployed app. There is nothing to install, configure, or sign up for.
How are unique visitors counted?
Unique visitors are deduplicated daily using a hash of screen resolution, browser language, and date. In production with Redis, GenMB uses HyperLogLog for accurate cross-instance counting. In local development, an in-memory fallback is used.
Does the analytics script affect page load speed?
Minimal impact. The script is ~1.2KB gzipped and loads asynchronously. It uses navigator.sendBeacon for session-end events so it never blocks the page.
How long is data retained?
Analytics data is retained for 90 days.
Does analytics work for private apps?
Yes. Analytics are collected for all deployed apps regardless of visibility setting.

Ready to build?

Create your first app for free — no credit card required.