For sites using Magento Klevu module versions 3.x or 2.x, please refer to this article. For version 4.x, kindly follow this link.
This content contains older information from our previous Javascript library. Please visit the link if you have implemented Klevu with the latest template JS.
For Magento:
- In Magento Admin Panel,
M1, Go to System → Configuration
M2, Go to Stores → Configuration - In M1, Go to General → Design → HTML Head → Miscellaneous Scripts
In M2, Go to Content → Design → Edit your store theme → Footer → Miscellaneous HTML - Add the following script. Please make sure to provide the correct URL of a page.
<script>
var klevu_enableLandingAutoScroll = true;
</script> - Save config
For Other Platforms:
- Add the following script on your site before the ending of </head> element
<script>
var klevu_enableLandingAutoScroll = true;
</script> - Save file