Analytics your team can actually trust.

Prebit Analytics is a standard event vocabulary, a canonical event envelope, and clean server/browser delivery paths — built so a purchase means the same thing in Prebit, Meta, and GA4.

Start free trialSee how it works
Signals: Session + events + vitalsScope: Storefront to orderWorks with: Meta + GA4Event identity: One eventId, every provider

Analytics — At a Glance

Why merchants like it
  • Trustworthy conversion measurement
  • Faster diagnosis
  • Better paid-channel accountability
  • Operational visibility
Built for developers
  • Stable event contracts
  • Cleaner provider adapters
  • Better debugging surfaces
  • Framework-level integration
Analytics is a fit if you are...
  • growth teams that need trustworthy funnel and attribution signals
  • developers who want a standard event surface instead of vendor-specific tracking scattered everywhere
  • brands debugging paid performance, page quality, and conversion leakage together

What is Analytics?

A measurement layer for commerce behavior

Prebit Analytics is not just a chart on a dashboard. Every important thing that happens in your store — an order getting paid, a refund, a catalog update — gets recorded once, in one place, as the single true record of what actually happened. Everything else, including any marketing tool you connect, reads from that same record.

Why merchants and operators care

Without clean analytics, teams misread campaigns, over-credit channels, and struggle to tell whether the problem is traffic quality, page experience, or checkout.

Why developers care

Developers need one shared definition of what a "purchase" or a "page view" means, so product, marketing, and engineering are never arguing about whose number is right. A marketing tool only ever gets handed an event that already happened — it never gets to decide on its own that a sale occurred.

Why Prebit built Analytics

Most ecommerce tracking is difficult to trust

Browser-only scripts, duplicate provider events, and fuzzy purchase definitions make it hard to answer even basic revenue questions with confidence.

Growth teams need shared language with engineering

If one team says "purchase" and another means "payment started" or "thank-you page loaded", optimization work breaks down. Prebit is opinionated about the vocabulary for that reason — a purchase is only ever recorded from the one place that actually knows the order went through: the order confirmation page itself.

Storefront quality and marketing outcomes are linked

Core Web Vitals, page flow friction, and paid attribution are all part of the same funnel story. Analytics should let teams see that connection more clearly.

Key features

One shared vocabulary for every event

Page views, product views, searches, add-to-carts, checkout starts, and purchases are all tracked under the same fixed set of names everywhere, most of it happening automatically as a shopper browses — nothing custom to wire up for the basics.

Merchant impact: Reports become more understandable across growth, operations, and leadership.

Developer impact: Engineers instrument once against stable event names rather than translating between multiple vendor models. Unknown event names are treated as custom events, subject to the same name/property validation as standard ones.

Example: A brand compares campaign traffic, add-to-cart rate, checkout-start rate, and paid purchase count using the same event language across dashboards and provider exports.

Never double-counted, in any provider

Every real purchase gets one single, permanent ID the moment it happens. Every place that purchase gets reported to — Meta, GA4, your own dashboard — reuses that exact same ID, so nothing ever gets counted twice.

Merchant impact: Teams get fewer mysterious gaps or inflated conversions in external platforms, because a browser report and a server report for the same order are recognized as the same sale, not counted twice.

Developer impact: A canonical `DomainEventEnvelopeV1` is recorded once, atomically, when the commerce event happens (for example when `markOrderPaid` succeeds). The event router selects connected subscribers and enqueues one outbox delivery per provider, reusing that same `eventId` as the dedupe key; a provider only transforms and delivers what it's given.

Example: Meta receives both a browser and a server Purchase tied to the same `eventId` for one order and correctly treats them as one conversion, not two.

Page speed and real visit data, not just sales totals

Real page-speed measurements and live session tracking give a fuller picture than conversion counts alone — so you can see whether a slow page or a confusing flow is actually costing you sales.

Merchant impact: Teams can spot when page quality or device behavior is hurting revenue before running a full redesign.

Developer impact: Real Web Vitals (LCP/INP/CLS) reporting and 60-second, Page-Visibility-API-gated heartbeats are delivered via `fetch(keepalive: true)`, not `sendBeacon`, so delivery survives a tab close mid-navigation — frontend work can be evaluated against measurable vitals instead of just subjective perception.

Example: A landing page with strong traffic but weak conversion is correlated against worse LCP and higher abandonment on slower devices.

You can see when a connection breaks

If Meta or GA4 stops receiving your data properly, you're not left guessing. The real delivery status — last success, last attempt, and what went wrong — is visible directly in your dashboard.

Merchant impact: Operators can catch broken tracking integrations faster, from a real health block in Settings → Marketing rather than a third-party debugger.

Developer impact: Delivery health is tracked from real outbox delivery records — last success, last attempt, recent success rate, error category, reconnect state — not inferred indirectly. A worker claim/lease prevents two dispatch cycles from double-sending the same due delivery.

Example: A merchant notices purchase events are fine inside Prebit but failing in an external provider because the destination connection needs re-authorization — visible directly in the health block instead of discovered days later in Meta's own reporting.

Architecture

Commerce Engine
Typed API + Events
Framework Layer (Boron / Krypton)
Frontend Surface
Merchant Outcomes

Every layer feeds the next: Analytics sits inside this chain rather than bypassing Commerce Engine's data contracts.

Storefront instrumentation

`window.prebit.analytics` (browser) and Boron's `<AnalyticsProvider>` / `track()` / `subscribe()` capture page, product, cart, and checkout behaviors with the standard event vocabulary.

Canonical event + durable outbox

Money-critical transitions (like an order becoming paid) record a `DomainEventEnvelopeV1` and enqueue outbox delivery rows in the same operation as the order state change — with a deterministic, bounded repair cron patching the narrow window where atomic recording alone can fail, since this codebase has no cross-collection Mongo transaction to lean on for every path.

Provider-specific delivery

A `MarketingProvider` registry (Meta, GA4 today) transforms the canonical envelope into each provider's own payload shape and delivers it, reusing the same `eventId` for dedupe. Providers never decide whether an event occurred — they only format and deliver one they were handed.

Merchant and team reporting

Dashboards summarize the event stream, vitals, session heartbeats, and delivery health in a way that supports decisions instead of vanity metrics.

Merchant benefits

Trustworthy conversion measurement

Teams spend less time arguing about what the numbers mean and more time acting on them.

Faster diagnosis

Growth and product teams can pinpoint whether problems start with traffic quality, page quality, or checkout behavior.

Better paid-channel accountability

One stable `eventId` shared across browser and server deliveries reduces duplicate-counting noise in external platform reporting.

Operational visibility

Commerce teams can connect orders, performance, and campaign activity into one picture instead of reading three separate tools.

Developer benefits

Stable event contracts

Instrumentation is easier to maintain when the platform defines the vocabulary and the envelope shape explicitly, versioned (`schemaVersion`) from day one.

Cleaner provider adapters

Developers transform a known event envelope for each provider instead of allowing providers to define the source-of-truth event model.

Better debugging surfaces

Vitals, heartbeat, and event-delivery layers expose more context when something goes wrong, backed by real per-delivery status (`pending`/`processing`/`sent`/`failed`/`dead`) rather than a black box.

Framework-level integration

Boron ships `server/analytics.ts` and `client/analytics.tsx` as real equivalents of every tracking mechanism the rest of the platform runs — not a copy-pasted third-party script.

Real use cases

Small business

A founder wants to know whether poor sales come from traffic quality or checkout loss before increasing ad spend.

Outcome: More grounded decisions with less guesswork.

Agency

An agency standardizes event instrumentation across multiple clients so reporting is comparable.

Outcome: Less analyst cleanup and easier performance reviews.

D2C growth brand

A growth team aligns paid media reporting with storefront and order truth during a major campaign push, trusting that Meta and GA4 dedupe the same purchase correctly.

Outcome: Better optimization loops and more confidence in ROAS analysis.

Platform team

Developers use vitals and session data to prioritize page-quality improvements with measurable business impact.

Outcome: Performance work tied back to commerce outcomes.

Performance

Low-overhead storefront instrumentation

Tracking should add context without becoming a major source of page bloat or duplicate work.

Server-backed truth where it matters

Money-critical events are tied back to backend state (the `DomainEvent` record) so teams are not left trusting browser-only heuristics.

Vitals as first-class diagnostics

Performance numbers become more useful when they are stitched into the same system as conversion behavior, using the real `web-vitals` package rather than a vendored, stale copy.

Delivery-path clarity

When events flow into downstream providers, a worker claim/lease and retry/backoff/dead-letter model let teams reason about failures cleanly instead of silent drops.

SEO and AI-search advantages

Core Web Vitals visibility

Teams can see whether search-facing pages are being held back by poor frontend behavior rather than content alone.

Clearer landing-page analysis

SEO pages and paid landing pages benefit from the same funnel diagnostics when traffic arrives but conversion lags.

Shared event language for AI-search and content teams

When everyone uses the same product, search, and conversion definitions, optimization work compounds more effectively.

Structured reporting foundation

Consistent data models make it easier to scale programmatic reporting and performance reviews across many pages.

Comparison

How Analytics compares

A direct, factual read on where each platform is strong, and where Prebit takes a different approach.

PlatformBest forWhere Prebit differs
ShopifyMerchants who want a mature ecosystem and are comfortable assembling apps around the core product.Prebit puts more weight on trustworthy event definitions, a stable eventId for dedupe, and storefront-to-order continuity instead of treating analytics as a loose collection of scripts.
WooCommerceTeams already invested in WordPress that can manage hosting, plugins, and patching themselves.Prebit puts more weight on trustworthy event definitions, a stable eventId for dedupe, and storefront-to-order continuity instead of treating analytics as a loose collection of scripts.
DukaanFast setup for lightweight catalogs and social-first merchants who need simple operations.Prebit puts more weight on trustworthy event definitions, a stable eventId for dedupe, and storefront-to-order continuity instead of treating analytics as a loose collection of scripts.
WixVisual-first website editing where commerce complexity is still relatively low.Prebit puts more weight on trustworthy event definitions, a stable eventId for dedupe, and storefront-to-order continuity instead of treating analytics as a loose collection of scripts.
SquarespaceContent-led brands that prioritize polished publishing and lighter transactional workflows.Prebit puts more weight on trustworthy event definitions, a stable eventId for dedupe, and storefront-to-order continuity instead of treating analytics as a loose collection of scripts.
BigCommerceMid-market catalog and B2B scenarios that need established enterprise controls.Prebit puts more weight on trustworthy event definitions, a stable eventId for dedupe, and storefront-to-order continuity instead of treating analytics as a loose collection of scripts.
MagentoEnterprises with large implementation budgets and in-house platform engineering teams.Prebit puts more weight on trustworthy event definitions, a stable eventId for dedupe, and storefront-to-order continuity instead of treating analytics as a loose collection of scripts.

Directional and factual. Validate against your own catalog complexity, channel strategy, and budget before deciding.

FAQs

Frequently asked questions about Analytics

Plain answers to what merchants, agencies, and developers actually ask.

Analytics is a dedicated Prebit capability focused on standard event vocabulary — page_view, product_view, search, add_to_cart, checkout_started, purchase — shared by the browser bus and server-side tracking. It is positioned as part of the wider Prebit platform rather than a disconnected add-on.

Analytics is best suited to growth teams that need trustworthy funnel and attribution signals and developers who want a standard event surface instead of vendor-specific tracking scattered everywhere.

Analytics relies on Commerce Engine contracts for product, cart, order, customer, or event state so teams are not duplicating business logic across separate tools.

Yes. Boron is Prebit's Next.js commerce framework, and this feature is designed to surface cleanly inside Boron storefront implementations.

Krypton is Prebit's mobile commerce framework. Where mobile parity matters, this feature is designed to share contracts with the same storefront APIs and platform services.

Yes. The feature set is designed so agencies can standardize workflows, theme patterns, or integration playbooks instead of rebuilding each project from scratch.

Yes. Prebit's direction is API-first and framework-aware, so custom logic can be added through typed interfaces, event flows, and deployment pipelines instead of fragile UI workarounds.

Usually yes, although the mechanism depends on the feature. Prebit's architecture aims to reduce plugin sprawl, tighten data contracts, and keep storefront rendering paths cleaner.

Start with the workflow you already run today, map the manual steps and integration points, then validate how this feature reduces handoffs, errors, or duplicated implementation effort.

It is part of the Prebit ecosystem, but the feature pages are intentionally written as independent product narratives so merchants, agencies, and developers can evaluate each capability on its own merits.

A third-party app usually means a second data model, a second permissions surface, and a second thing that can silently drift out of sync. Analytics reads and writes through the same Commerce Engine contracts as the rest of Prebit, so there is one source of truth instead of an app-plus-platform reconciliation problem.

Analytics is modeled at the platform layer, not inside a specific theme or frontend. Switching themes, or moving a storefront from one framework surface to another, does not require re-entering or migrating the underlying data.

No for the core merchant workflow, which is designed to work out of the box. Yes if a team wants deeper customization, custom UI, or integration with an external system, which is why the developer-facing contracts exist alongside the merchant UI.

The goal is for platform-level features to add negligible overhead compared to stitching together equivalent third-party scripts or apps, since the logic runs closer to the same data layer instead of making extra round trips.

It is included as part of the relevant Prebit plan rather than sold as a separate paid add-on, though final packaging can vary by plan tier — check current plan details before assuming feature-by-feature pricing.

Prebit maintains the underlying platform logic and ships improvements centrally. Merchants and developers configure and extend it, rather than owning the core implementation the way they would with a self-hosted plugin.

Generally yes. Most Prebit capabilities are additive rather than mandatory, so a team can adopt them when the workflow actually calls for it instead of being forced into every surface on day one.

The same contracts that make a single store work cleanly are what let multi-store and enterprise operators standardize the same workflow across several storefronts instead of re-implementing it per store.

Start a trial, look at the relevant dashboard surface directly, and compare it against whatever manual process or third-party tool currently handles the same job — the difference is usually clearest in a real side-by-side.

Specific and technical, by design — this page describes real architecture and real behavior, not vague marketing claims, so a merchant, agency, or developer can evaluate it accurately.

No. The dashboard matters, but the bigger point is a canonical event envelope with one stable `eventId` per event, so the numbers mean something consistent across Prebit, Meta, and GA4.

Because they are the two live marketing providers in the current registry, and data quality problems there usually expose whether the underlying analytics architecture is strong or weak.

Every money-critical event gets one immutable `eventId` at the moment it happens server-side. When Meta receives both a browser and a server Purchase for the same order, both carry that same `eventId` as `event_id`, so Meta's own dedupe logic — not a guess on Prebit's part — treats them as one conversion.

Yes. Settings → Marketing's health block reads real per-delivery status — last success, last attempt, recent success rate, error category — rather than assuming delivery succeeded just because the event was recorded.

No by design. The browser SDK is required to reject or strip direct identifiers (email, phone, address, tokens) from custom event properties, and provider payload builders keep secrets and plaintext PII out of outbox rows and logs.

Explore More

Ready to try Analytics?

Start free. No credit card required. Explore the rest of the Prebit platform once you're in.

Start free trialRead Commerce Engine events

← All Prebit features