Integration Process Overview
Here’s what to expect from contract signing through go-live and beyond. The end-to-end integration typically takes around 5–6 weeks.Onboarding
Contract signed & billing set up
Once the contract is signed, your Kleep representative kicks off billing via GoCardless: Set up direct debit →.
Onboarding kickoff meeting
A short call with your Kleep representative to align on timeline, technical contacts, and any store-specific requirements before installation begins.
Fill out the onboarding form
After the kickoff, we’ll ask you to share a few details about your company, billing, store environments, and returns setup so we can prepare the integration.Fill out our onboarding form →It takes about 5 minutes. Once submitted, our team will review your responses and confirm the next steps within 1 business day.
Share your Shopify URL & collaborator code
Send us your store address (e.g.
your-store.myshopify.com) along with your collaborator request code so we can request access to your store.Multiple Shopify stores? If you have several Shopify instances (e.g. different regions or brands), please send us a collaborator code for each shop — we need one code per store.
Accept our collaborator request
We’ll send a collaborator access request from our Shopify Partner account. Approve it from Settings → Users and permissions → Collaborators in your Shopify admin.
Install the Kleep app on each shop
Once we have collaborator access, we’ll send you an app installation link for each store. You’ll need to install the Kleep app separately on every Shopify store where you want Kleep enabled.
Choose CTA placement
Review our suggested positions for the “Find my size” button and pick the one that fits your storefront: CTA positioning Figma →.
Installation & testing
We install Kleep on a duplicate theme
Our team duplicates your current Shopify theme and installs Kleep on the duplicate, so your live storefront stays untouched while you test.
Preview & feedback
We send you a private preview link to test the integration end-to-end and share any feedback or adjustments needed.
Post-integration
Client dashboard access
We provision credentials for your team to access the Kleep Dashboard, where you can monitor Kleep performance KPIs in real time.
Fit Feedback enabled
We enable Fit Feedback in your dashboard so your team can refine Kleep’s size recommendations using real-world fitting data.
1. 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
2. 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

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
3. 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.




4. 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.
5. 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
6. 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
Code
7. 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
- Production URL:
https://www.yourbrand.com - Staging URL:
https://staging.yourbrand.com(if applicable) - Dev URL:
https://dev.yourbrand.com(if applicable)
7.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 Guide8. 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. Prerequisites- Access to the theme code editor (Online Store → Themes → Edit code)
- Kleep App Embed must be enabled in your Shopify admin (Online Store → Themes → Customize → App embeds → Kleep)
Product info block within snippets folder:
Code
Code
kleep-button.liquid within your snippets folder. Put the following content inside:
Code
Code
Code
Code
kleep-secondary-button.liquid within your snippets folder:
Code
Code
Product info block within snippets folder.
Code
Code
9. Vintage Themes - Similar Products Setup
Step 1: Create the Snippet Create a filesnippets/kleep-similar-button.liquid with the following code:
Code
Code
Code
Code
custom_buttonspopup+custombutton+custom
Code
Code
10. Translations (i18n)
Add the following translations to your theme locale files. English (en.json)
Code
Code
fr.json)
Code
Code
it.json)
Code
Code
de.json)
Code
Code
es.json)
Code
Code
ja.json)
Code
Code
ko.json)
Code
Code
pt.json)
Code
Code
11. 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
12. 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.
13. 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
