Install and configure Kleep AI Sizing, Anti-Bracketing, Similar Products, Search and AI Try-On on any storefront via our JavaScript library.
Kleep’s JavaScript library powers five front-end solutions on any storefront: AI Sizing, Anti-Bracketing, Similar Products, AI Search, and AI Try-On. 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 Search
On-site search component powered by Kleep
AI Try-On
Virtual try-on in a full-screen overlay on your product pages
All five features share the same two prerequisites — cookie consent and library installation — covered in the sections below. Once those are in place, follow the guide for the feature(s) you want to enable.
Loading Kleep processes personal data through cookies and similar technologies. You must therefore legally condition the loading of Kleep on the visitor’s prior consent to cookies — do not call kleep.load (or load the library) until the visitor has accepted the relevant cookies in your Consent Management Platform (CMP).
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.
Your CMP must expose two processing purposes, and Kleep may only be loaded once the visitor has consented to both. The exact wording to display in your banner — in 15 languages — lives on the Cookies, CMP & Data Privacy page. Copy it from there.
Load the library globally, on every page of your site — not just product pages. Add the <script src="https://module.kleep.ai/api/widget"> tag site-wide so the kleep object is available on all pages. This is required because kleep.track events fire outside of PDPs too (e.g. product_added_to_cart on the cart page, checkout_completed on the order-confirmation page), and those pages need the kleep object to be present. The product-page-specific call kleep.load(...) should still only run on PDPs.
Seeing the logs while you integrate. By default the widget runs silently. To print the full [KLEEP] [Widget] logs (loading flow, parameters, CTA creation, etc.) in your browser console, add ?debug=true to the library URL:
This URL flag is the only way to enable the verbose logs — there is no debug option on kleep.load(...). Critical warnings (unsupported lang/market, product_id/selectors mismatch, calling kleep.load twice) are always shown, even without this flag. Remove ?debug=true in production.
Kleep is fully gated by visitor consent: the script only loads after consent is collected through your CMP, and you must condition its loading accordingly. For the complete list of trackers, the data processed, the purposes and legal bases, hosting, subprocessors and security, see Cookies, CMP & Data Privacy.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Kleep Docs","colors":{"primary":"#2D3AE8","light":"#5566F0","dark":"#1A26D4"},"logo":{"light":"https://mintcdn.com/kleepai/P6rPkutQ6cxcOBES/logo/light.png?fit=max\u0026auto=format\u0026n=P6rPkutQ6cxcOBES\u0026q=85\u0026s=22d604087158cddfc31cf1e8d387c952","dark":"https://mintcdn.com/kleepai/P6rPkutQ6cxcOBES/logo/light.png?fit=max\u0026auto=format\u0026n=P6rPkutQ6cxcOBES\u0026q=85\u0026s=22d604087158cddfc31cf1e8d387c952","href":"https://kleep.ai"},"favicon":"https://mintcdn.com/kleepai/rGKB_Meej0i_0MpH/favicon.png?fit=max\u0026auto=format\u0026n=rGKB_Meej0i_0MpH\u0026q=85\u0026s=af15aa991e4f2479facab0f838065fb2","appearance":{"default":"light","strict":true},"fonts":{"heading":{"family":"Inter"},"body":{"family":"Inter"}},"styling":{"latex":false},"navigation":{"languages":[{"language":"en","href":""},{"language":"fr","href":"fr"},{"language":"de","href":"de"},{"language":"es","href":"es"},{"language":"it","href":"it"},{"language":"pt","href":"pt"},{"language":"pt-BR","href":"pt-BR"},{"language":"nl","href":"nl"},{"language":"da","href":"da"},{"language":"fi","href":"fi"},{"language":"sv","href":"sv"},{"language":"pl","href":"pl"},{"language":"ja","href":"ja"},{"language":"ko","href":"ko"},{"language":"zh","href":"zh"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"kleepai","hasAudioNarration":false,"actualSubdomain":"kleepai","customDomains":["docs.kleep.ai"],"gitSource":{"type":"github","owner":"klipfit","repo":"public-docs","deployBranch":"master","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ad8e98bdd63f2498e2e5675","collectionId":"a057a750-be7d-493f-af95-96acb5b4e815","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ad8e98bdd63f2498e2e5675"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ad8e98bdd63f2498e2e5675","clientVersion":"0.0.3918","searchFilterCounts":[{"language":"en","tag":"Documentation","count":35},{"language":"en","tag":"CMS","count":24},{"language":"da","tag":"Dokumentation","count":22},{"language":"de","tag":"Dokumentation","count":22},{"language":"es","tag":"Documentación","count":22},{"language":"fi","tag":"Dokumentaatio","count":22},{"language":"fr","tag":"Documentation","count":22},{"language":"it","tag":"Documentazione","count":22},{"language":"ja","tag":"ドキュメント","count":22},{"language":"ko","tag":"문서","count":22},{"language":"nl","tag":"Documentatie","count":22},{"language":"pl","tag":"Dokumentacja","count":22},{"language":"pt-BR","tag":"Documentação","count":22},{"language":"pt","tag":"Documentação","count":22},{"language":"sv","tag":"Dokumentation","count":22},{"language":"zh","tag":"文档","count":22},{"language":"da","tag":"CMS","count":14},{"language":"de","tag":"CMS","count":14},{"language":"es","tag":"CMS","count":14},{"language":"fi","tag":"CMS","count":14},{"language":"fr","tag":"CMS","count":14},{"language":"it","tag":"CMS","count":14},{"language":"ja","tag":"CMS","count":14},{"language":"ko","tag":"CMS","count":14},{"language":"nl","tag":"CMS","count":14},{"language":"pl","tag":"CMS","count":14},{"language":"pt-BR","tag":"CMS","count":14},{"language":"pt","tag":"CMS","count":14},{"language":"sv","tag":"CMS","count":14},{"language":"zh","tag":"CMS","count":14},{"language":"en","tag":"SFCC (SFRA Cartridge)","count":7},{"language":"da","tag":"SFCC (SFRA Cartridge)","count":7},{"language":"de","tag":"SFCC (SFRA Cartridge)","count":7},{"language":"es","tag":"SFCC (SFRA Cartridge)","count":7},{"language":"fi","tag":"SFCC (SFRA Cartridge)","count":7},{"language":"fr","tag":"SFCC (SFRA Cartridge)","count":7},{"language":"it","tag":"SFCC (SFRA Cartridge)","count":7},{"language":"ja","tag":"SFCC (SFRA Cartridge)","count":7},{"language":"ko","tag":"SFCC (SFRA Cartridge)","count":7},{"language":"nl","tag":"SFCC (SFRA Cartridge)","count":7},{"language":"pl","tag":"SFCC (SFRA Cartridge)","count":7},{"language":"pt-BR","tag":"SFCC (SFRA Cartridge)","count":7},{"language":"pt","tag":"SFCC (SFRA Cartridge)","count":7},{"language":"sv","tag":"SFCC (SFRA Cartridge)","count":7},{"language":"zh","tag":"SFCC (SFRA Cartridge)","count":7},{"language":"en","tag":"JS Library","count":6},{"language":"en","tag":"Shopify","count":6},{"language":"en","tag":"Analytics Dashboard","count":6},{"language":"en","tag":"Dashboard","count":6},{"language":"en","tag":"Mobile","count":6},{"language":"fr","tag":"Analytics Dashboard","count":4},{"language":"fr","tag":"Tableau de bord","count":4},{"language":"en","tag":"Fit Feedback","count":3},{"language":"en","tag":"Data","count":3},{"language":"da","tag":"Analytics Dashboard","count":3},{"language":"da","tag":"Dashboard","count":3},{"language":"da","tag":"Fit Feedback","count":3},{"language":"da","tag":"Data","count":3},{"language":"da","tag":"Mobil","count":3},{"language":"de","tag":"Analytics Dashboard","count":3},{"language":"de","tag":"Dashboard","count":3},{"language":"de","tag":"Fit Feedback","count":3},{"language":"de","tag":"Daten","count":3},{"language":"de","tag":"Mobil","count":3},{"language":"es","tag":"Analytics Dashboard","count":3},{"language":"es","tag":"Panel","count":3},{"language":"es","tag":"Fit Feedback","count":3},{"language":"es","tag":"Datos","count":3},{"language":"es","tag":"Móvil","count":3},{"language":"fi","tag":"Analytics Dashboard","count":3},{"language":"fi","tag":"Hallintapaneeli","count":3},{"language":"fi","tag":"Fit Feedback","count":3},{"language":"fi","tag":"Tiedot","count":3},{"language":"fi","tag":"Mobiili","count":3},{"language":"fr","tag":"Fit Feedback","count":3},{"language":"fr","tag":"Données","count":3},{"language":"fr","tag":"Mobile","count":3},{"language":"it","tag":"Analytics Dashboard","count":3},{"language":"it","tag":"Dashboard","count":3},{"language":"it","tag":"Fit Feedback","count":3},{"language":"it","tag":"Dati","count":3},{"language":"it","tag":"Mobile","count":3},{"language":"ja","tag":"Analytics Dashboard","count":3},{"language":"ja","tag":"ダッシュボード","count":3},{"language":"ja","tag":"Fit Feedback","count":3},{"language":"ja","tag":"データ","count":3},{"language":"ja","tag":"モバイル","count":3},{"language":"ko","tag":"Analytics Dashboard","count":3},{"language":"ko","tag":"대시보드","count":3},{"language":"ko","tag":"Fit Feedback","count":3},{"language":"ko","tag":"데이터","count":3},{"language":"ko","tag":"모바일","count":3},{"language":"nl","tag":"Analytics Dashboard","count":3},{"language":"nl","tag":"Dashboard","count":3},{"language":"nl","tag":"Fit Feedback","count":3},{"language":"nl","tag":"Gegevens","count":3},{"language":"nl","tag":"Mobiel","count":3},{"language":"pl","tag":"Analytics Dashboard","count":3},{"language":"pl","tag":"Panel","count":3},{"language":"pl","tag":"Fit Feedback","count":3},{"language":"pl","tag":"Dane","count":3},{"language":"pl","tag":"Mobilne","count":3},{"language":"pt-BR","tag":"Analytics Dashboard","count":3},{"language":"pt-BR","tag":"Painel","count":3},{"language":"pt-BR","tag":"Fit Feedback","count":3},{"language":"pt-BR","tag":"Dados","count":3},{"language":"pt-BR","tag":"Mobile","count":3},{"language":"pt","tag":"Analytics Dashboard","count":3},{"language":"pt","tag":"Painel","count":3},{"language":"pt","tag":"Fit Feedback","count":3},{"language":"pt","tag":"Dados","count":3},{"language":"pt","tag":"Mobile","count":3},{"language":"sv","tag":"Analytics Dashboard","count":3},{"language":"sv","tag":"Instrumentpanel","count":3},{"language":"sv","tag":"Fit Feedback","count":3},{"language":"sv","tag":"Data","count":3},{"language":"sv","tag":"Mobil","count":3},{"language":"zh","tag":"Analytics Dashboard","count":3},{"language":"zh","tag":"仪表盘","count":3},{"language":"zh","tag":"Fit Feedback","count":3},{"language":"zh","tag":"数据","count":3},{"language":"zh","tag":"移动端","count":3},{"language":"da","tag":"Shopify","count":2},{"language":"de","tag":"Shopify","count":2},{"language":"es","tag":"Shopify","count":2},{"language":"fi","tag":"Shopify","count":2},{"language":"fr","tag":"Shopify","count":2},{"language":"it","tag":"Shopify","count":2},{"language":"ja","tag":"Shopify","count":2},{"language":"ko","tag":"Shopify","count":2},{"language":"nl","tag":"Shopify","count":2},{"language":"pl","tag":"Shopify","count":2},{"language":"pt-BR","tag":"Shopify","count":2},{"language":"pt","tag":"Shopify","count":2},{"language":"sv","tag":"Shopify","count":2},{"language":"zh","tag":"Shopify","count":2},{"language":"da","tag":"Privatliv","count":1},{"language":"de","tag":"Datenschutz","count":1},{"language":"es","tag":"Privacidad","count":1},{"language":"fi","tag":"Tietosuoja","count":1},{"language":"fr","tag":"Confidentialité","count":1},{"language":"it","tag":"Privacy","count":1},{"language":"ja","tag":"プライバシー","count":1},{"language":"ko","tag":"개인정보","count":1},{"language":"nl","tag":"Privacy","count":1},{"language":"pl","tag":"Prywatność","count":1},{"language":"pt-BR","tag":"Privacidade","count":1},{"language":"pt","tag":"Privacidade","count":1},{"language":"sv","tag":"Integritet","count":1},{"language":"zh","tag":"隐私","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-branches-v2-autocommit","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-branches-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"teamspace","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-nav-generations","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"client-snapshot-docs-config","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"cms/js-library","slug":"/cms/js-library","pageMetadata":{"title":"JS Library","description":"Install and configure Kleep AI Sizing, Anti-Bracketing, Similar Products, Search and AI Try-On on any storefront via our JavaScript library.","href":"/cms/js-library"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Install and configure Kleep AI Sizing, Anti-Bracketing, Similar Products, Search and AI Try-On on any storefront via our JavaScript library.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,hr:`hr`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{Card,CardGroup,CodeBlock,Heading,Note,Tip,Warning}=_components;if(!Card)_missingMdxReference(`Card`,true);if(!CardGroup)_missingMdxReference(`CardGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Kleep’s JavaScript library powers five front-end solutions on any storefront: `,_jsx(_components.a,{href:`/cms/js-library/ai-sizing`,children:`AI Sizing`}),`, `,_jsx(_components.a,{href:`/cms/js-library/anti-bracketing`,children:`Anti-Bracketing`}),`, `,_jsx(_components.a,{href:`/cms/js-library/similar-products`,children:`Similar Products`}),`, `,_jsx(_components.a,{href:`/cms/js-library/search`,children:`AI Search`}),`, and `,_jsx(_components.a,{href:`/cms/js-library/try-on`,children:`AI Try-On`}),`. Use it together with the platform-specific backend integration guide (Prestashop, Magento, WooCommerce, WShop, or `,_jsx(_components.a,{href:`/cms/custom`,children:`Custom`}),`) — that handles data ingestion, while the JS library handles the front-end experience on your storefront.`]}),`\n`,_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`AI Sizing`,icon:`ruler-combined`,href:`/cms/js-library/ai-sizing`,children:_jsx(_components.p,{children:`“Find my size” button, tracking, and Dashboard integration`})}),_jsx(Card,{title:`Anti-Bracketing`,icon:`cart-shopping`,href:`/cms/js-library/anti-bracketing`,children:_jsx(_components.p,{children:`Prompt shoppers to keep one size when they add two to cart`})}),_jsx(Card,{title:`Similar Products`,icon:`grid`,href:`/cms/js-library/similar-products`,children:_jsx(_components.p,{children:`Out-of-stock cross-sell drawer`})}),_jsx(Card,{title:`AI Search`,icon:`magnifying-glass`,href:`/cms/js-library/search`,children:_jsx(_components.p,{children:`On-site search component powered by Kleep`})}),_jsx(Card,{title:`AI Try-On`,icon:`wand-magic-sparkles`,href:`/cms/js-library/try-on`,children:_jsx(_components.p,{children:`Virtual try-on in a full-screen overlay on your product pages`})})]}),`\n`,_jsx(_components.p,{children:`All five features share the same two prerequisites — cookie consent and library installation — covered in the sections below. Once those are in place, follow the guide for the feature(s) you want to enable.`}),`\n`,_jsx(Heading,{level:`2`,id:`1-cookie-consent-legal-requirement`,children:`1. Cookie consent (legal requirement)`}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Loading Kleep processes personal data through cookies and similar technologies. You must therefore `,_jsx(_components.strong,{children:`legally condition the loading of Kleep on the visitor’s prior consent to cookies`}),` — do not call `,_jsx(_components.code,{children:`kleep.load`}),` (or load the library) until the visitor has accepted the relevant cookies in your Consent Management Platform (CMP).`]})}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Concretely: gate the `,_jsx(_components.code,{children:`\u003cscript src=\"https://module.kleep.ai/api/widget\">`}),` tag and the `,_jsx(_components.code,{children:`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.`]})}),`\n`,_jsxs(_components.p,{children:[`Your CMP must expose `,_jsx(_components.strong,{children:`two processing purposes`}),`, and Kleep may only be loaded once the visitor has consented to both. The exact wording to display in your banner — in 15 languages — lives on the `,_jsx(_components.a,{href:`/cookie-consent#consent-wording-to-display-in-your-cmp`,children:`Cookies, CMP \u0026 Data Privacy`}),` page. Copy it from there.`]}),`\n`,_jsx(Heading,{level:`2`,id:`2-installation`,children:`2. Installation`}),`\n`,_jsx(_components.p,{children:`To get started, include the widget’s JavaScript file in your project.`}),`\n`,_jsxs(_components.p,{children:[`Before `,_jsx(_components.code,{children:`\u003c/body>`}),`, add:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`html`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`html`,children:_jsxs(_components.code,{language:`html`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`script`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` src`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://module.kleep.ai/api/widget\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`script`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`]})})}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Load the library globally, on every page of your site — not just product pages.`}),` Add the `,_jsx(_components.code,{children:`\u003cscript src=\"https://module.kleep.ai/api/widget\">`}),` tag site-wide so the `,_jsx(_components.code,{children:`kleep`}),` object is available on all pages. This is required because `,_jsx(_components.code,{children:`kleep.track`}),` events fire outside of PDPs too (e.g. `,_jsx(_components.code,{children:`product_added_to_cart`}),` on the cart page, `,_jsx(_components.code,{children:`checkout_completed`}),` on the order-confirmation page), and those pages need the `,_jsx(_components.code,{children:`kleep`}),` object to be present. The product-page-specific call `,_jsx(_components.code,{children:`kleep.load(...)`}),` should still only run on PDPs.`]})}),`\n`,_jsxs(Tip,{children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Seeing the logs while you integrate.`}),` By default the widget runs silently. To print the full `,_jsx(_components.code,{children:`[KLEEP] [Widget]`}),` logs (loading flow, parameters, CTA creation, etc.) in your browser console, add `,_jsx(_components.code,{children:`?debug=true`}),` to the library URL:`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`html`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`html`,children:_jsxs(_components.code,{language:`html`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`script`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` src`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://module.kleep.ai/api/widget?debug=true\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>\u003c/`}),_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#569CD6`},children:`script`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#808080`},children:`>`})]}),`\n`]})})}),_jsxs(_components.p,{children:[`This URL flag is the only way to enable the verbose logs — there is no `,_jsx(_components.code,{children:`debug`}),` option on `,_jsx(_components.code,{children:`kleep.load(...)`}),`. Critical warnings (unsupported `,_jsx(_components.code,{children:`lang`}),`/`,_jsx(_components.code,{children:`market`}),`, `,_jsx(_components.code,{children:`product_id`}),`/`,_jsx(_components.code,{children:`selectors`}),` mismatch, calling `,_jsx(_components.code,{children:`kleep.load`}),` twice) are `,_jsx(_components.strong,{children:`always`}),` shown, even without this flag. Remove `,_jsx(_components.code,{children:`?debug=true`}),` in production.`]})]}),`\n`,_jsx(Heading,{level:`2`,id:`3-pick-a-feature`,children:`3. Pick a feature`}),`\n`,_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`AI Sizing`,icon:`ruler-combined`,href:`/cms/js-library/ai-sizing`,children:_jsxs(_components.p,{children:[`Install the “Find my size” experience with `,_jsx(_components.code,{children:`kleep.load`}),` and enable tracking with `,_jsx(_components.code,{children:`kleep.track`})]})}),_jsx(Card,{title:`Anti-Bracketing`,icon:`cart-shopping`,href:`/cms/js-library/anti-bracketing`,children:_jsxs(_components.p,{children:[`Detect size bracketing and prompt shoppers to keep one size with `,_jsx(_components.code,{children:`kleep.antiBracketing`})]})}),_jsx(Card,{title:`Similar Products`,icon:`grid`,href:`/cms/js-library/similar-products`,children:_jsxs(_components.p,{children:[`Display an out-of-stock cross-sell drawer with `,_jsx(_components.code,{children:`kleep.showSimilarProducts`})]})}),_jsx(Card,{title:`AI Search`,icon:`magnifying-glass`,href:`/cms/js-library/search`,children:_jsxs(_components.p,{children:[`Integrate an on-site search component with `,_jsx(_components.code,{children:`kleep.search.init`}),` and `,_jsx(_components.code,{children:`kleep.search.renderBox`})]})}),_jsx(Card,{title:`AI Try-On`,icon:`wand-magic-sparkles`,href:`/cms/js-library/try-on`,children:_jsxs(_components.p,{children:[`Open the virtual try-on with `,_jsx(_components.code,{children:`kleep.vto`})]})})]}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`cookies-\u0026-data-privacy`,children:`Cookies \u0026 data privacy`}),`\n`,_jsxs(_components.p,{children:[`Kleep is fully gated by visitor consent: the script only loads `,_jsx(_components.strong,{children:`after`}),` consent is collected through your CMP, and you must condition its loading accordingly. For the complete list of trackers, the data processed, the purposes and legal bases, hosting, subprocessors and security, see `,_jsx(_components.a,{href:`/cookie-consent`,children:`Cookies, CMP \u0026 Data Privacy`}),`.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"JS Library","description":"Install and configure Kleep AI Sizing, Anti-Bracketing, Similar Products, Search and AI Try-On on any storefront via our JavaScript library.","href":"/cms/js-library"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"1. Cookie consent (legal requirement)","slug":"1-cookie-consent-legal-requirement","depth":2,"children":[]},{"title":"2. Installation","slug":"2-installation","depth":2,"children":[]},{"title":"3. Pick a feature","slug":"3-pick-a-feature","depth":2,"children":[]},{"title":"Cookies \u0026 data privacy","slug":"cookies-\u0026-data-privacy","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"kleepai","siteName":"Kleep Docs","title":"JS Library - Kleep Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/cms/js-library","matchLevel":0},"fr":{"href":"/fr/cms/js-library","matchLevel":1},"de":{"href":"/de/cms/js-library","matchLevel":1},"es":{"href":"/es/cms/js-library","matchLevel":1},"it":{"href":"/it/cms/js-library","matchLevel":1},"pt":{"href":"/pt/cms/js-library","matchLevel":1},"pt-BR":{"href":"/pt-BR/cms/js-library","matchLevel":1},"nl":{"href":"/nl/cms/js-library","matchLevel":1},"da":{"href":"/da/cms/js-library","matchLevel":1},"fi":{"href":"/fi/cms/js-library","matchLevel":1},"sv":{"href":"/sv/cms/js-library","matchLevel":1},"pl":{"href":"/pl/cms/js-library","matchLevel":1},"ja":{"href":"/ja/cms/js-library","matchLevel":1},"ko":{"href":"/ko/cms/js-library","matchLevel":1},"zh":{"href":"/zh/cms/js-library","matchLevel":1}}},"lastModified":"2026-10-16T14:06:01.690Z","originalFileLocation":"cms/js-library.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=\"light\";if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Install and configure Kleep AI Sizing, Anti-Bracketing, Similar Products, Search and AI Try-On on any storefront via our JavaScript library.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Kleep Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/kleepai/UZp7saKlnFE5PV9H/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/kleepai/UZp7saKlnFE5PV9H/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/kleepai/UZp7saKlnFE5PV9H/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/kleepai/UZp7saKlnFE5PV9H/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/kleepai/UZp7saKlnFE5PV9H/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/kleepai/UZp7saKlnFE5PV9H/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/kleepai/UZp7saKlnFE5PV9H/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/kleepai/UZp7saKlnFE5PV9H/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/kleepai/UZp7saKlnFE5PV9H/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"JS Library - Kleep Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Install and configure Kleep AI Sizing, Anti-Bracketing, Similar Products, Search and AI Try-On on any storefront via our JavaScript library.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Kleep Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.kleep.ai/cms/js-library\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://kleepai.mintlify.app/_mintlify/api/og/v2?division=JS+Library\u0026amp;title=JS+Library\u0026amp;description=Install+and+configure+Kleep+AI+Sizing%2C+Anti-Bracketing%2C+Similar+Products%2C+Search+and+AI+Try-On+on+any+storefront+via+our+JavaScript+library.\u0026amp;theme=1bc300ec6dcfc767e6a21b36\u0026amp;signature=4edba03bdaee0737a3be368a5b61dfc2ba5f80172d981fb0b2c536391033c603\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"JS Library - Kleep Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Install and configure Kleep AI Sizing, Anti-Bracketing, Similar Products, Search and AI Try-On on any storefront via our JavaScript library.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://kleepai.mintlify.app/_mintlify/api/og/v2?division=JS+Library\u0026amp;title=JS+Library\u0026amp;description=Install+and+configure+Kleep+AI+Sizing%2C+Anti-Bracketing%2C+Similar+Products%2C+Search+and+AI+Try-On+on+any+storefront+via+our+JavaScript+library.\u0026amp;theme=1bc300ec6dcfc767e6a21b36\u0026amp;signature=4edba03bdaee0737a3be368a5b61dfc2ba5f80172d981fb0b2c536391033c603\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/kleepai/UZp7saKlnFE5PV9H/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Kleep Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2D3AE8\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.kleep.ai/cms/js-library\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/cms/js-library.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.kleep.ai/cms/js-library\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"fr\" href=\"https://docs.kleep.ai/fr/cms/js-library\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"de\" href=\"https://docs.kleep.ai/de/cms/js-library\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://docs.kleep.ai/es/cms/js-library\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"it\" href=\"https://docs.kleep.ai/it/cms/js-library\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"pt\" href=\"https://docs.kleep.ai/pt/cms/js-library\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"pt-BR\" href=\"https://docs.kleep.ai/pt-BR/cms/js-library\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"nl\" href=\"https://docs.kleep.ai/nl/cms/js-library\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"da\" href=\"https://docs.kleep.ai/da/cms/js-library\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"fi\" href=\"https://docs.kleep.ai/fi/cms/js-library\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"sv\" href=\"https://docs.kleep.ai/sv/cms/js-library\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"pl\" href=\"https://docs.kleep.ai/pl/cms/js-library\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ja\" href=\"https://docs.kleep.ai/ja/cms/js-library\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ko\" href=\"https://docs.kleep.ai/ko/cms/js-library\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://docs.kleep.ai/zh/cms/js-library\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.kleep.ai/cms/js-library\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.kleep.ai/#organization\",\"name\":\"Kleep Docs\",\"url\":\"https://docs.kleep.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/kleepai/P6rPkutQ6cxcOBES/logo/light.png?fit=max\u0026auto=format\u0026n=P6rPkutQ6cxcOBES\u0026q=85\u0026s=22d604087158cddfc31cf1e8d387c952\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.kleep.ai#website\",\"name\":\"Kleep Docs\",\"url\":\"https://docs.kleep.ai\",\"publisher\":{\"@id\":\"https://docs.kleep.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.kleep.ai/cms/js-library#webpage\",\"url\":\"https://docs.kleep.ai/cms/js-library\",\"name\":\"JS Library\",\"description\":\"Install and configure Kleep AI Sizing, Anti-Bracketing, Similar Products, Search and AI Try-On on any storefront via our JavaScript library.\",\"dateModified\":\"2026-10-16T14:06:01.690Z\",\"isPartOf\":{\"@id\":\"https://docs.kleep.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.kleep.ai/cms/js-library#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.kleep.ai/cms/js-library#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"CMS\",\"item\":\"https://docs.kleep.ai/cms/shopify\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"JS Library\",\"item\":\"https://docs.kleep.ai/cms/js-library\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.kleep.ai/cms/js-library#article\",\"headline\":\"JS Library\",\"name\":\"JS Library\",\"description\":\"Install and configure Kleep AI Sizing, Anti-Bracketing, Similar Products, Search and AI Try-On on any storefront via our JavaScript library.\",\"url\":\"https://docs.kleep.ai/cms/js-library\",\"mainEntityOfPage\":{\"@id\":\"https://docs.kleep.ai/cms/js-library#webpage\"},\"dateModified\":\"2026-10-16T14:06:01.690Z\",\"publisher\":{\"@id\":\"https://docs.kleep.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.kleep.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Kleep Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Kleep Docs","nav":{"global":null,"languages":[{"language":"en","tabs":[{"tab":"Documentation","groups":[{"group":"Welcome","pages":[{"title":"Welcome to Kleep Docs","href":""}]},{"group":"CMS","pages":[{"group":"Shopify","pages":[{"title":"Shopify Integration Guide","href":"/cms/shopify"},{"title":"AI Sizing","href":"/cms/shopify/ai-sizing"},{"title":"Search","href":"/cms/shopify/search"},{"title":"Anti-Bracketing","href":"/cms/shopify/anti-bracketing"},{"title":"Similar Products","href":"/cms/shopify/similar-products"},{"title":"AI Try-On","href":"/cms/shopify/try-on"}]},{"group":"SFCC (SFRA Cartridge)","pages":[{"title":"Overview","href":"/cms/sfcc/overview"},{"title":"Installation","href":"/cms/sfcc/installation"},{"title":"Configuration","href":"/cms/sfcc/configuration"},{"title":"Template Integration","href":"/cms/sfcc/templates"},{"title":"Features","href":"/cms/sfcc/features"},{"title":"Reference","href":"/cms/sfcc/reference"},{"title":"Changelog","href":"/cms/sfcc/changelog"}]},{"title":"Prestashop","href":"/cms/prestashop"},{"title":"Magento","href":"/cms/magento"},{"title":"WooCommerce","href":"/cms/woocommerce"},{"title":"WShop","href":"/cms/wshop"},{"title":"Custom","description":"Integrate Kleep on a bespoke, headless, or otherwise custom-built storefront.","href":"/cms/custom"},{"group":"JS Library","pages":[{"title":"JS Library","href":"/cms/js-library"},{"title":"AI Sizing","description":"Install and configure the Kleep 'Find my size' experience on any storefront.","href":"/cms/js-library/ai-sizing"},{"title":"Anti-Bracketing","href":"/cms/js-library/anti-bracketing"},{"title":"Similar Products","href":"/cms/js-library/similar-products"},{"title":"AI Search","href":"/cms/js-library/search"},{"title":"AI Try-On","href":"/cms/js-library/try-on"}]}]},{"group":"Mobile","pages":[{"title":"Mobile SDK - iOS","href":"/mobile/ios"},{"title":"iOS SDK - Version history","href":"/mobile/ios-changelog"},{"title":"Mobile SDK - Android","href":"/mobile/android"},{"title":"Android SDK - Version history","href":"/mobile/android-changelog"},{"title":"Mobile SDK - React Native","href":"/mobile/react-native"},{"title":"WeChat \u0026 JD Mini Programs","href":"/mobile/mini-programs"}]},{"group":"Data","pages":[{"title":"Data Integration Requirements","href":"/data/data-integration"},{"title":"SFTP Access Documentation","href":"/data/sftp-access"},{"title":"SFTP Data Structure","href":"/data/sftp-structure"}]},{"group":"Privacy","pages":[{"title":"Cookies, CMP \u0026 Data Privacy","href":"/cookie-consent"}]}]},{"tab":"Analytics Dashboard","pages":[{"title":"Analytics Dashboard","href":"/dashboard/fit-feedback/overview"}]}]},{"language":"fr","pages":[{"title":"fr","href":"/fr/cms/js-library"}]},{"language":"de","pages":[{"title":"de","href":"/de/cms/js-library"}]},{"language":"es","pages":[{"title":"es","href":"/es/cms/js-library"}]},{"language":"it","pages":[{"title":"it","href":"/it/cms/js-library"}]},{"language":"pt","pages":[{"title":"pt","href":"/pt/cms/js-library"}]},{"language":"pt-BR","pages":[{"title":"pt-BR","href":"/pt-BR/cms/js-library"}]},{"language":"nl","pages":[{"title":"nl","href":"/nl/cms/js-library"}]},{"language":"da","pages":[{"title":"da","href":"/da/cms/js-library"}]},{"language":"fi","pages":[{"title":"fi","href":"/fi/cms/js-library"}]},{"language":"sv","pages":[{"title":"sv","href":"/sv/cms/js-library"}]},{"language":"pl","pages":[{"title":"pl","href":"/pl/cms/js-library"}]},{"language":"ja","pages":[{"title":"ja","href":"/ja/cms/js-library"}]},{"language":"ko","pages":[{"title":"ko","href":"/ko/cms/js-library"}]},{"language":"zh","pages":[{"title":"zh","href":"/zh/cms/js-library"}]}]},"title":"JS Library - Kleep Docs","buildId":"dpl_22zLaHtK6fmmSqApXTTP5tC7UBZn","deploymentId":"dpl_22zLaHtK6fmmSqApXTTP5tC7UBZn","dynamics":[],"chunks":[]}