diff --git a/src/module-elasticsuite-tracker/etc/elasticsuite_indices.xml b/src/module-elasticsuite-tracker/etc/elasticsuite_indices.xml index 04e23d91f..5c94e0934 100644 --- a/src/module-elasticsuite-tracker/etc/elasticsuite_indices.xml +++ b/src/module-elasticsuite-tracker/etc/elasticsuite_indices.xml @@ -49,6 +49,7 @@ true + whitespace true @@ -67,6 +68,7 @@ true + true @@ -98,6 +100,12 @@ + + + + + + @@ -116,6 +124,7 @@ true + true diff --git a/src/module-elasticsuite-tracker/view/frontend/web/js/tracking.js b/src/module-elasticsuite-tracker/view/frontend/web/js/tracking.js index b9a521c5d..2b313e2e7 100644 --- a/src/module-elasticsuite-tracker/view/frontend/web/js/tracking.js +++ b/src/module-elasticsuite-tracker/view/frontend/web/js/tracking.js @@ -90,8 +90,8 @@ var smileTracker = (function () { } function addResolutionVars() { - this.addPageVar('resolution.X', window.screen.availWidth); - this.addPageVar('resolution.Y', window.screen.availHeight); + this.addPageVar('resolution.x', window.screen.availWidth); + this.addPageVar('resolution.y', window.screen.availHeight); return this; }