Results
GET /experiments/{testId}/resultsReturns the full results page as data: every metric per variation, the lift against the control, which variation leads and each one's probability to be best. When you only need the headline, /summary costs half as much.
Parameters
testId
Path parameter, from /experiments
startDate, endDate, timeZoneName
The date window
Filters
Any filter
Response
Alongside goal, currency, period, appliedFilters and totals, each entry in variations carries id (integer), name (string \| null), isControl and isInLead (boolean), lift (object), and these metrics, each number \| null:
Traffic
uniqueVisitors, sessions
Conversion
conversions, conversionRate, sessionConversionRate, orders, subscriptionOrders
Revenue
revenue, productRevenue, shippingRevenue, subscriptionRevenue, revenuePerVisitor, revenuePerSession, averageOrderValue
Funnel
addToCarts, addToCartRate, checkoutsStarted, checkoutStartRate, checkoutsCompleted
Discounts
totalDiscount, averageDiscountPerOrder, freeShippingOrders, freeShippingOrderRate
Profit
profit, profitPerVisitor
lift holds revenuePerVisitor, conversionRate, averageOrderValue and profitPerVisitor, each number | null.
statistics carries:
winner
object | null
variationId, name, isControl and probability
probabilities
object | null
Per metric, an array of variationId and probability
Worth knowing
profitandprofitPerVisitorarenullunless product costs are set up in Elevate.liftisnullon the control, which is what everything else is compared against.isInLeadand the winner can differ.isInLeadfollows the raw numbers, the winner follows the probability, and they part company when traffic is uneven between variations.winnerandprobabilitiesarenullwhile the status isCollecting Data.
Last updated