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 {
14
14
public var addToCartRate : Double ?
15
15
/// [Average click position](https://www.algolia.com/doc/guides/search-analytics/concepts/metrics/#click-position)
16
16
/// for this variant.
17
- public var averageClickPosition : Int ?
17
+ public var averageClickPosition : Double ?
18
18
/// Number of click events for this variant.
19
19
public var clickCount : Int
20
20
/// [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 {
58
58
public init (
59
59
addToCartCount: Int ,
60
60
addToCartRate: Double ? = nil ,
61
- averageClickPosition: Int ? = nil ,
61
+ averageClickPosition: Double ? = nil ,
62
62
clickCount: Int ,
63
63
clickThroughRate: Double ? = nil ,
64
64
conversionCount: Int ,
You can’t perform that action at this time.
0 commit comments