Analytics Events
These analytics calls require a POST to be sent to the following endpoint, together with information about the activity to be tracked in the JSON body. You can even include multiple analytics events within a single HTTP request.
For a successful analytics call, you will receive a 200 HTTP response code. If the request fails for any reason, you will receive a non-200 code and some JSON feedback in the body.
Just like Search, Clicks and Checkouts, Klevu also needs to know about interactions with Recommendation banners. Namely when they are viewed and when they are clicked or selected.
Note: If you are using our HTML Div Integration there is no need to implement these analytics calls, since the Klevu JavaScript Library will handle them automatically.
Some of the parameters below reference "banner configuration metadata". Please refer to Configurations for retrieving the required values for each banner.