kleep.requestSize. Use it together with the platform-specific backend integration guide (Prestashop, Magento, WooCommerce, WShop, or Custom) — that handles data ingestion, while the JS library handles the front-end experience on your storefront.
AI Sizing
“Find my size” button, tracking, and Dashboard integration
Anti-Bracketing
Prompt shoppers to keep one size when they add two to cart
Similar Products
Out-of-stock cross-sell drawer
AI Recommendations
Serve dashboard-configured product recommendations with full attribution
AI Search
On-site search component powered by Kleep
AI Try-On
Virtual try-on in a full-screen overlay on your product pages
1. Cookie consent (legal requirement)
Concretely: gate the
<script src="https://module.kleep.ai/api/widget"> tag and the kleep.load(...) call behind your CMP’s consent callback, so they only run after consent is granted. If consent is later withdrawn, stop loading Kleep on subsequent page views.2. Installation
To get started, include the widget’s JavaScript file in your project. Before</body>, add the script with your public_id, the UUID Kleep gives you for the store:
data-public-id tells Kleep which store the page belongs to. Without it, on pages that don’t call kleep.load, Kleep falls back to the page’s domain, which can’t tell apart several stores on one domain.
Tag managers. If yours removes
data- attributes, use https://module.kleep.ai/api/widget?public_id=YOUR_PUBLIC_ID instead.Several stores on one domain. Set the public_id of the store the page belongs to.3. Pick a feature
AI Sizing
Install the “Find my size” experience with
kleep.load and enable tracking with kleep.trackAnti-Bracketing
Detect size bracketing and prompt shoppers to keep one size with
kleep.antiBracketingSimilar Products
Display an out-of-stock cross-sell drawer with
kleep.showSimilarProductsAI Recommendations
Fetch placements from the recommendations API and attribute them with
kleep.trackAI Search
Integrate an on-site search component with
kleep.search.init, kleep.search.renderBox and kleep.search.renderResultAI Try-On
Open the virtual try-on with
kleep.vto
