Integration
HTML

HTML

Our JavaScript snippet is the easiest way to integrate mySHOEFITTER into your website.

Add the Script

Add the following script tag add the end of your product pages, just before the </body> tag

index.html
<!-- Load the mySHOEFITTER Script -->
<script src="https://js.myshoefitter.com/v1/script.js"></script>
 
<!-- Initialize mySHOEFITTER -->
<script type="application/javascript">
  myshoefitter.init({
    shopId: 'your-shop-id', // <- Replace
    productId: 'custom-product-id' // <- Replace
  });
</script>

Add the Button

Add this code below your "add to cart" button:

index.html
<button id="myshoefitter-button">Find the right size</button>

That's it. You are ready!