Skip to main content

AbTestVariantResult

Computed variant metrics nested in abTestList; absent from detail queries that do not load metrics.

type AbTestVariantResult {
trafficSplit: Float
visitors: Int
conversions: Int
conversionRate: Float
value: AbTestValue
improvementFromControl: Float
hasBestImprovement: Boolean!
}

Fields​

AbTestVariantResult.trafficSplit ● Float scalar​

Traffic share in percent, rounded to two decimals; equal shares when no variant has a weight, and null when only other variants have one.

AbTestVariantResult.visitors ● Int scalar​

Unique visitors to this variant in the loaded metrics.

AbTestVariantResult.conversions ● Int scalar​

Converted visitors for this variant and goal in the loaded metrics.

AbTestVariantResult.conversionRate ● Float scalar​

Conversions divided by visitors, as a percentage rounded to two decimals; zero with no visitors.

AbTestVariantResult.value ● AbTestValue object​

Conversion value in ten-thousandths of displayCurrency; zero when no value is recorded.

AbTestVariantResult.improvementFromControl ● Float scalar​

Relative conversion-rate change in percent, rounded to one decimal; null for control or zero control rate.

AbTestVariantResult.hasBestImprovement ● Boolean! non-null scalar​

Whether this is the sole non-retired variant with the highest nonzero conversion rate rounded to two decimals.

Member Of​

AbTestVariant object