Skip to content

Commit

Permalink
fix(analytics): correct AB testing average click pos type
Browse files Browse the repository at this point in the history
  • Loading branch information
rayrutjes authored and VladislavFitz committed Sep 28, 2020
1 parent ad7acd1 commit 856378f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion algolia/analytics/responses_ab_testing.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ type ABTestResponse struct {
// VariantResponse represents an AB test's variant as returned by the Analytics
// API when retrieved as part of a response.
type VariantResponse struct {
AverageClickPosition int `json:"averageClickPosition"`
AverageClickPosition float64 `json:"averageClickPosition"`
ClickCount int `json:"clickCount"`
ClickThroughRate float64 `json:"clickThroughRate"`
ConversionCount int `json:"conversionCount"`
Expand Down

0 comments on commit 856378f

Please sign in to comment.