File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/connections/destinations/catalog/algolia-insights Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ Algolia supports the following six events from Segment's [Ecommerce Spec](https:
71
71
analytics .track (' Product List Viewed' , {
72
72
products: [{
73
73
objectID: " hit objectID" ,
74
- position: " hit position on index " ,
74
+ position: hitPositionOnIndex, // number
75
75
index: " my-index-name" ,
76
76
queryID: " Algolia queryID" // required only for Click Analytics,
77
77
}]
@@ -86,15 +86,15 @@ analytics.track('Product List Filtered', {
86
86
87
87
analytics .track (' Product Viewed' , {
88
88
objectID: " hit objectID" ,
89
- position: " hit position on index " ,
89
+ position: hitPositionOnIndex, // number
90
90
index: " my-index-name" ,
91
91
queryID: " Algolia queryID" // required only for Click Analytics,
92
92
})
93
93
94
94
95
95
analytics .track (' Product Clicked' , {
96
96
objectID: " hit objectID" ,
97
- position: " hit position on index " ,
97
+ position: hitPositionOnIndex, // number
98
98
index: " my-index-name" ,
99
99
queryID: " Algolia queryID" // required only for Click Analytics,
100
100
})
You can’t perform that action at this time.
0 commit comments