Force AJAX use for search Object

From version 2.3.0 we are prioritising fetch calls for the search object instance over ajax calls. To be able to force all calls for a specific search instance to use ajax please use add to the chain “chains.request.send” the following code

Klevu distribution

Production and Developer distributions Klevu is distributed in 2 methods. as a production ready library as a development library There are some very specific differences between the 2 distributions. The development one is not minified and does contain inside the main code logging code that will execute in the case logging settings are set, unlike…

Klevu Settings

klevu( options ) Returns: klevu Description:  Settings overrides Klevu Library has some predefined settings for its powerup and for some of its modules. The following is a description of the settings that are used in the library. All settings for search and analytics object will be set on the base object and used as defaults…

Go Live checklist

Before going live please validate the following: The Klevu library used is on the fixed version and in production mode All local JS files are minified, merged files are recommended. The klevu local settings are applied correctly All search instances are using the correct override setting Search box selector is set correctly depending of search…

Types

This page documents data types appearing in Klevu JS Lib function signatures, whether defined by JavaScript itself or further restricted by Klevu JS Lib. Unless explicitly stated otherwise, Klevu JS Lib functions require primitive values where applicable, and do not accept their Object-wrapped forms. If you want to study these concepts in depth, take a…