Docs

Web analytics

Pageviews, uniques, and Core Web Vitals for every app — no snippet, no cookies, no configuration.

Zero-touch by default

Every app deployed on Buildfyio reports analytics automatically. The platform injects a ~1 KB tracker into HTML responses at the edge — server-rendered apps (Next.js, Astro SSR, anything in a container) and static sites alike. You deploy; the Analytics tab fills up. There is nothing to install.

What's measured

  • Pageviews — including SPA route changes.
  • Unique visitors — a daily-rotating anonymous hash; the same visitor cannot be linked across days.
  • Top paths and referrers.
  • Core Web Vitals — LCP, CLS, TTFB, FCP at the 75th percentile, scored against Chrome's thresholds.

Privacy

Cookieless by design: no cookies, no persistent identifiers, no cross-site tracking, no IP addresses stored. Visitor identity is a salted hash that rotates at UTC midnight — compliant-by-default for GDPR/KVKK-style regimes without a consent banner for analytics.

Manual embedding

Pages served outside Buildfyio (a docs site elsewhere, an embedded widget) can still report to your project with the one-line snippet from the Analytics tab:

<script src="https://api.buildfyio.com/v1/analytics/<project-id>/bfy.js" async></script>

The tracker is idempotent — if a page ends up with both the automatic injection and a manual snippet, views count once.

Notes

  • Only browser navigations are instrumented; API responses, SSE streams, and asset requests pass through untouched.
  • Strict Content-Security-Policy apps should allow script-src https://api.buildfyio.com.