Variant

algoliasearch.abtesting.Variant
case class Variant(addToCartCount: Int, addToCartRate: Option[Double], averageClickPosition: Option[Int], clickCount: Int, clickThroughRate: Option[Double], conversionCount: Int, conversionRate: Option[Double], currencies: Option[Map[String, Currency]], description: String, estimatedSampleSize: Option[Int], filterEffects: Option[FilterEffects], index: String, noResultCount: Option[Int], purchaseCount: Int, purchaseRate: Option[Double], searchCount: Option[Int], trackedSearchCount: Option[Int], trafficPercentage: Int, userCount: Option[Int], trackedUserCount: Option[Int])

Variant

Value parameters

addToCartCount

Number of add-to-cart events for this variant.

addToCartRate

Add-to-cart rate for this variant.

averageClickPosition

Average click position for this variant.

clickCount

Number of click events for this variant.

clickThroughRate

Click-through rate for this variant.

conversionCount

Number of click events for this variant.

conversionRate

Conversion rate for this variant.

currencies

A/B test currencies.

description

Description for this variant.

estimatedSampleSize

Estimated number of searches required to achieve the desired statistical significance. The A/B test configuration must include a mininmumDetectableEffect setting for this number to be included in the response.

index

Index name of the A/B test variant (case-sensitive).

noResultCount

Number of searches without results for this variant.

purchaseCount

Number of purchase events for this variant.

purchaseRate

Purchase rate for this variant.

searchCount

Number of searches for this variant.

trackedSearchCount

Number of tracked searches. Tracked searches are search requests where the clickAnalytics parameter is true.

trackedUserCount

Number of users that made tracked searches to this variant.

trafficPercentage

Percentage of search requests each variant receives.

userCount

Number of users that made searches to this variant.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product