File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ public struct Variant: Codable, JSONEncodable {
1414 public var addToCartRate : Double ?
1515 /// [Average click position](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#click-position)
1616 /// for this variant.
17- public var averageClickPosition : Int ?
17+ public var averageClickPosition : Double ?
1818 /// Number of click events for this variant.
1919 public var clickCount : Int
2020 /// [Click-through rate](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#click-through-rate)
@@ -58,7 +58,7 @@ public struct Variant: Codable, JSONEncodable {
5858 public init (
5959 addToCartCount: Int ,
6060 addToCartRate: Double ? = nil ,
61- averageClickPosition: Int ? = nil ,
61+ averageClickPosition: Double ? = nil ,
6262 clickCount: Int ,
6363 clickThroughRate: Double ? = nil ,
6464 conversionCount: Int ,
You can’t perform that action at this time.
0 commit comments