Skip to main content

AbTestVariantCount

One variant's metrics in the order requested by abTestResultCounts.

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

Fields​

AbTestVariantCount.variantId ● Int! non-null scalar​

Numeric variant id from abTestRefList, accepted by variant mutations; distinct from resultsId.

AbTestVariantCount.visitors ● Int! non-null scalar​

Unique visitors to this variant in the requested metrics scope.

AbTestVariantCount.conversions ● Int! non-null scalar​

Converted visitors for this variant, selected goal, and dates.

AbTestVariantCount.conversionRate ● Float! non-null scalar​

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

AbTestVariantCount.improvementFromControl ● Float scalar​

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

AbTestVariantCount.value ● AbTestValue! non-null object​

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

AbTestVariantCount.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.

AbTestVariantCount.significance ● Float scalar​

Chi-square significance, 0-100 percent; null without visitors or comparison, or for the PATCH variant kind.

AbTestVariantCount.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​

AbTestResultCounts object