TopHitWithRevenueAnalytics

algoliasearch.analytics.TopHitWithRevenueAnalytics
case class TopHitWithRevenueAnalytics(hit: String, count: Int, clickThroughRate: Option[Double], conversionRate: Option[Double], trackedHitCount: Int, clickCount: Int, conversionCount: Int, addToCartRate: Option[Double], addToCartCount: Int, purchaseRate: Option[Double], purchaseCount: Int, currencies: Map[String, CurrenciesValue])

TopHitWithRevenueAnalytics

Value parameters

addToCartCount

Number of add-to-cart events from this search.

addToCartRate

Add-to-cart rate, calculated as number of tracked searches with at least one add-to-cart event divided by the number of tracked searches. If null, Algolia didn't receive any search requests with clickAnalytics set to true.

clickCount

Number of clicks associated with this search.

clickThroughRate

Click-through rate, calculated as number of tracked searches with at least one click event divided by the number of tracked searches. If null, Algolia didn't receive any search requests with clickAnalytics set to true.

conversionCount

Number of conversions from this search.

conversionRate

Conversion rate, calculated as number of tracked searches with at least one conversion event divided by the number of tracked searches. If null, Algolia didn't receive any search requests with clickAnalytics set to true.

count

Number of occurrences.

currencies

Revenue associated with this search, broken-down by currencies.

hit

Object ID of a record that's returned as a search result.

purchaseCount

Number of purchase events from this search.

purchaseRate

Purchase rate, calculated as number of tracked searches with at least one purchase event divided by the number of tracked searches. If null, Algolia didn't receive any search requests with clickAnalytics set to true.

trackedHitCount

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

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