1. Pre-Onboarding Checklist
Before starting the integration, please gather the following information: Company Information- Legal company details (for contract and billing):
- Company type:
- Monobrand (e.g.,
Eric Bompard) - Multibrand owner (e.g,
sœur/frere) - Multibrand (
showroom)
- Monobrand (e.g.,
- Main contact (name, email, phone):
- Technical contact (name, email) — person who will handle the integration:
- Agency contact (if applicable):
- Billing contact:
- Payment method preference
- Direct debit (preferred) — https://pay.gocardless.com/BRT000352V7T67Q
- Bank transfer (alternative)
- List of Shopify environments (production, staging, dev, etc.):
- Store URL(s) for each environment:
- Go-live target date:
- Production
- Staging
- Pre-prod
- Dev
- Other :
- No — Skip this section
- Yes — Select your provider:
- Global-e
- Aftership
- Fast Return
- Return Go
- Other: ___
- SFTP
- Provider API
- Other: ___
2. Functionalities
Kleep is integrated within your store by installing a custom app that was created beforehand. It allows to:- Add our CTA “Find my size” on your product pages
- Customize its UI directly in the Theme Editor
3. Installation
Kleep handles the installation and configuration of the app for you. After sharing your .myshopify.com domain and Collaborator Code, you’ll receive a Collaborator Access request. Upon accepting this request, you’ll have to add an additional authorization to create a WebPixel which we cannot request on our end. It is used to track our solution’s ROI. You can follow this quick tutorial: https://app.tango.us/app/workflow/-----Kleep-sur-votre-Shopify---valider-les-autorisations-cbf4a2e93921474c8dd69fe1edd36807 Need help to find your Collaborator Code? https://app.tango.us/app/workflow/Trouver-son-Code-Collaborateur-sur-Shopify-b11350edbfd0470b9fd7a1054e8f4882-
- Product Data Mapping
How to ConfigureField Description Where to find it Category Product type (shirts, pants, dresses, etc.) Product type, Tags, or Metafields Gender Men, Women, or Unisex Tags or Metafields Children Yes/No — is this a kids product? Tags or Metafields Brand Reference (MPN/SKU) The brand’s internal product code SKU field or Metafields - Go to your Kleep Dashboard
- Navigate to Settings → Data Mapping
- For each field above, select where Kleep should look for the data
- Map your values to Kleep’s standard values
Your value Kleep value homme,man,maleMANfemme,woman,femaleWOMANmixte,unisexUNISEX💡 Tip: Kleep will automatically scan your recent products to suggest mappings. You can review and adjust them in the dashboard.
Size Systems Configuration Kleep supports multiple size systems (FR, UK, US, IT, SML, etc.). You need to specify which systems your brand uses. In the Kleep Dashboard:- Go to Settings → Size Systems
- Select the size systems you use for each product category:
- Clothing (e.g., FR, SML)
- Shoes (e.g., EU, UK, US)
- Children (e.g., Age-based, Height-based)
- Lingerie (e.g., FR, Cup sizes)
⚠️ Important: Incorrect size system configuration will affect size recommendations accuracy.
Kleep needs to identify the following information from your Shopify products:
5. Similar Products Feature
Similar Products suggests alternative products when a size is out of stock. This feature increases conversions by offering relevant alternatives to customers. Available Display Modes| Mode | Description |
|---|---|
| Popup (auto) | Automatic popup on size hover (desktop) / button (mobile) |
| Button (auto) | Automatic CTA button near cart when out of stock |
| Custom buttons only | You manually place buttons via the theme editor |
| Popup + custom | Automatic popup + additional custom buttons |
| Button + custom | Automatic button + additional custom buttons |

- Go to the Product page template in the theme editor
- In the desired section, click Add block
- Click the Apps tab and select “Kleep Similar Button”
- Position the block where you want it and save

💡 Tip: Similar Products buttons only appear when a variant is out of stock. It’s normal if you don’t see them on all products.Adding Multiple Buttons You can add any number of Similar Products buttons on the Product Page. To allow multiple buttons, the widget must be set to one of:
custom_buttons, popup+custom, or button+custom.
For OS 2.0 themes:
- Go to Online Store → Customize
- Open the Product page template
- Click Add block → Kleep Similar Button
- Repeat if you want 2+ buttons on the page
6. Kleep Search Feature
Kleep Search replaces the native Shopify search with an optimised search featuring size filters and personalised recommendations. Step 1: Enable Custom Search In the Kleep App Embed settings, enable the “Enable custom search” option.




7. Returns Integration (Optional)
If you use a returns management platform, Kleep can integrate return data to improve size recommendations. Supported Returns Providers- Global-e
- Aftership
- Fast Return
- Return Go
- Other (contact us)
- In the Kleep Dashboard, go to Settings → Returns
- Select your returns provider
- Follow the provider-specific instructions to connect your account
📧 If your provider is not listed, contact us at support@kleep.ai — we can set up a custom integration via SFTP or API.
8. Event Tracking & Analytics
Kleep automatically tracks user interactions for analytics. Make sure tracking is working correctly before go-live. Events Tracked| Event | Description |
|---|---|
kleep_button_click | User clicked the size guide button |
kleep_drawer_open | Size guide drawer opened |
kleep_size_recommended | A size recommendation was displayed |
kleep_add_to_cart | User added product to cart from Kleep |
kleep_similar_click | User clicked on a similar product |
- Open your browser’s Developer Tools (F12)
- Go to the Network tab
- Filter by “kleep”
- Interact with the size guide button
- You should see API calls for each event
⚠️ Before go-live: Ensure at least 5 events are triggered and payloads are valid. Complete one full user journey (button click → size recommendation → add to cart) to validate the integration.
9. CSS Customization
You can customize the appearance of Kleep elements (buttons, popups, search) by adding custom CSS. Where to Add CSS In the Kleep App Embed settings, you’ll find an “Input custom CSS styles” field. Paste your custom CSS there.
-
Code
10. Multiple Environments
If you have multiple Shopify environments (dev, staging, production), you need to configure Kleep for each one. Setup for Each Environment- Production store — Main store, fully configured
- Staging/Dev stores — For testing before pushing to production
- Install the Kleep app
- Enable the App Embed
- Contact your Kleep CSM to link the environment to your account
💡 Tip: Always test changes on staging before applying to production.Environment-Specific URLs Provide your Kleep CSM with:
- Production URL:
https://www.yourbrand.com - Staging URL:
https://staging.yourbrand.com(if applicable) - Dev URL:
https://dev.yourbrand.com(if applicable)
10.5 CTA Button & Similar Products — Full Installation Guide
For the complete technical reference on installing the Kleep CTA button and Similar Products feature (including all Liquid code, settings schema, and secondary button setup), refer to the dedicated guide below: CTA Button & Similar Products — Full Installation Guide11. Vintage Themes - Size Guide Setup
Vintage themes (also called “legacy” or created before Online Store 2.0) don’t support App Blocks. Installation requires Liquid code modifications.⚠️ Important: This section requires Shopify development knowledge (Liquid).Prerequisites
- Access to the theme code editor (Online Store → Themes → Edit code)
- Kleep App Embed must be enabled (see Section 3)
Product info block within snippets folder:
-
Code
kleep-button.liquid within your snippets folder. Put the following content inside:
-
Code
-
Code
kleep-secondary-button.liquid within your snippets folder:
-
Code
Product info block within snippets folder.
-
Code
12. Vintage Themes - Similar Products Setup
Step 1: Create the Snippet Create a filesnippets/kleep-similar-button.liquid with the following code:
-
Code
-
Code
custom_buttonspopup+custombutton+custom
-
Code
13. Translations (i18n)
Add the following translations to your theme locale files. English (en.json)
-
Code
fr.json)
-
Code
it.json)
-
Code
de.json)
-
Code
es.json)
-
Code
ja.json)
-
Code
ko.json)
-
Code
pt.json)
-
Code
14. Technical Reference
CTA Location on PDP The location is defined by DOM selectors insideKleepSDK.getConstants():
targetProductInfoBlockQueries– Array of selectors pointing to the main container of product details (title, price, sizes, etc.). The script iterates through these selectors and uses the first one it finds as the insertion point for the CTA or popups.targetVariantQueries– Where size/variant options are. Once the product info block is found, the script searches inside it for variant elements (like size selectors). Each variant<label>(or equivalent) becomes a target for attaching the popup CTA.
checkIfMobile():
This function checks the browser’s navigator.userAgent string against a list of mobile devices (e.g., iPhone, Android, iPad).
- Desktop: The CTA is displayed as hover popups next to the variant labels
- Mobile: The script replaces hover popups with a single button, since hover interactions do not work on touch screens
- Shopify SKU field
- Metafield (specify which one)
- Tags (with prefix, e.g.,
ref:ABC123)
- Example: If variant SKUs are
ABC123-S,ABC123-M,ABC123-L, the master product reference isABC123 - Rule: Take first 6 characters / Split by and take first part / Custom regex
- Other variants of placement/layout are not provided beyond adjusting the selectors and CSS
- To change appearance (colors, spacing, fonts, etc.), paste your CSS into the “Input custom CSS styles” box in the Kleep App Embed settings
15. Go-Live Checklist
Before going live, verify the following: Button Display- Button visible on at least 3 product pages
- Button works on desktop AND mobile
- No CSS conflicts (button not hidden or misaligned)
- No Cumulative Layout Shift (CLS) issues — button doesn’t cause page jump
- Vintage themes only: Commit referenced in version control
- >98% of products have a size guide mapped
- <1% of variants have missing measurements
- 0 orphan SKUs (products without category mapping)
- All 5 events firing correctly
- Complete user journey tracked (button → recommendation → cart)
- Payloads validated
- JS errors < 1%
- API latency P95 < 500ms
- Monitoring in place
- Size guide opens correctly
- Recommendations display properly
- Add to cart works from size guide
- Similar products display (if enabled)
- Responsive on all devices
✅ Once all items are checked, notify your Kleep CSM for final QA validation before go-live.
16. Troubleshooting
The button doesn’t appear- ☑️ Verify that the Kleep App Embed is enabled (toggle ON)
- ☑️ Make sure you saved the theme changes
- ☑️ Clear your browser cache and reload the page
- ☑️ Check that the product has size variants configured
- ☑️ Check that the mode isn’t set to “Disabled” in settings
- ☑️ Buttons only appear when a variant is out of stock
- ☑️ For “custom” modes, verify you’ve added an App Block
- ☑️ Verify “Enable custom search” is enabled in the App Embed
- ☑️ Make sure you’ve added the Kleep Search block to the Search template
- ☑️ Check that the native search is hidden
- ☑️ Check that your product data contains the expected fields (tags, metafields, etc.)
- ☑️ Verify mappings in Kleep Dashboard → Settings → Data Mapping
- ☑️ Re-run the product scan to refresh detected values
- ☑️ Check browser console for JavaScript errors
- ☑️ Verify no ad-blockers or privacy extensions are blocking Kleep requests
- ☑️ Test in incognito mode
- 📧 Email: support@kleep.ai
