Guide
Dashboard/KMC Settings
Banners
1min
This API call uses a simple GET request with no payload, and since it is intended for use on the frontend there is no authentication required.
GET
Request
Body Parameters
JS_API_KEY
required
String
Your public Klevu JS API Key.
Utilize the following API endpoint to submit the click events for banners.
GET
Request
Query Parameters
klevu_term
required
String
This field refers to the search term used when submitting banner click events. When submitting click events on Category pages, you can indicate that it is a banner click event by using an asterisk (*) in place of the actual search term. This helps differentiate it from regular search term submissions.
klevu_bannerId
required
Number
This will be bannerRef value as shown in above API call response.
klevu_image
required
String
This is the banner image URL.
klevu_target
required
String
This is target URL.
klevu_request
required
String
The value of this field will be “click“.
type
required
String
The value of this field will be “banner“.
klevu_apiKey
required
String
This is your Klevu JS API Key.
klevu_bannerName
optional
String
This is banner name.
Updated 30 Oct 2023
Did this page help you?