A/B Tests
Get A/B Test Stats
Get aggregate and per-variant A/B test stats
GET
Get A/B Test Stats
Get aggregate A/B test stats and per-variant stats for the authenticated company. Open and click metrics exclude detected email-security scanners and tracked brand assets by default.
The response also reports whether the difference in the test’s winner metric (open rate or click rate) is statistically significant, so you can tell a real winner from noise.
Significance is informational. Automatic winner selection still picks the
variant with the highest rate when the test period ends.
Request
string
required
A/B test ID.
string
Optional period:
1h, 24h, 7d, 30d, or 90d.string
Custom range start as ISO 8601. Requires
end.string
Custom range end as ISO 8601. Requires
start.boolean
default:"false"
Set to
true to include detected scanner, preview, and tracked asset
open/click events in A/B test metrics.Response fields
object
Present when the test is judged on a goal or an event. Covers every send of
the test, whatever
period, start and end say. convertedRecipients
counts recipients with a goal conversion attributed to the variant (see
Create A/B test for how attribution works), or who fired the event after
their send. conversionRate is that count per delivered email, as a
percentage. value is the summed goal value, such as revenue in cents, and
refunds lower it. valuePerDelivery divides it by delivered emails. Both are
0 for events.object
Statistical significance of the test’s winner metric. Before a winner is
selected it uses the same time range as the stats. Once a winner is
selected, it compares only the emails sent before the winner was chosen,
with all of their later opens and clicks, and ignores
period, start and
end: the winner’s later sends to the rest of the audience are counted
under its variant and would skew the comparison. For a sequence test whose
winner you later changed or resumed, the comparison also includes the
earlier winner’s sends. The leading variant is compared with every
other variant using a two-sided two-proportion z-test, corrected for the
number of comparisons. Rates use delivered emails, or sends when no
deliveries were recorded.