Skip to main content
Preview — this page is an early draft. We’re still verifying the API reference against the current endpoints. Fields, response shapes, and examples may change before this section is marked stable. Follow PRO-1459 or ask in #abconvert-dev if you’re integrating against this today.
Storewide analytics measure the impact of an experiment on your whole store, not just the products directly enrolled in the test. This lets you detect revenue cannibalization (where a variant wins on the test product but loses revenue elsewhere) or spillover lift (where winning variants also improve behavior on related products). Both storewide analytics endpoints are session endpoints and require Shopify authentication. They accept the same standard request body as the per-experiment analytics endpoints.

Storewide analytics vs. per-experiment analytics

Storewide analytics still require an experimentId to define the visitor groups. ABConvert uses the experiment’s test group assignments to segment storewide behavior — it does not compare random store visitors.

Storewide analytics v1

Returns storewide conversion metrics broken down by the experiment’s test groups, using the same visitor-based methodology as per-experiment analytics v1.

Path parameters

experimentId
string
required
The _id of the experiment whose visitor groups you want to use for segmentation.

Request body

Accepts the standard analytics request body:
See the standard analytics request fields for full parameter documentation.

Example request

Response

totalViews
array
Total store page views per test group across all products during the period.
totalAddToCarts
array
Total add-to-cart events per test group across the whole store.
totalOrders
array
Total completed orders per test group across the whole store.
totalRevenue
array
Total revenue in store currency per test group, across all products.
statisticalSignificance
object
Statistical significance metrics for the storewide conversion difference. See experiment analytics for field definitions.

Storewide analytics v2

An enhanced version of storewide analytics that includes visitor journey tracking across multiple sessions, matching the richer attribution model of per-experiment analytics v2.

Path parameters

experimentId
string
required
The _id of the experiment whose visitor groups define the segmentation.

Request body

Same structure as v1. See the standard analytics request fields.

Example request

The response extends the v1 shape with additional journey-level breakdown fields, reflecting how experiment participants behaved across your entire store over multiple sessions.

Specialized experiment analytics

For experiment types other than price and content, ABConvert provides dedicated analytics endpoints that return type-appropriate metrics: All specialized endpoints accept the same standard request body.