Add this tag at the position in your html where the Size Advisor button should be displayed:
<div class="ShoeSizeMe"></div>
Add this script at the end of the html code and repalce the variables with your own data.
<script type="text/javascript">
(function(d, t, s) {
// Replace the following variables
var shopId = "SHOP_ID";
var shoeId = "SHOE_ID";
var locale = "en";
var scale = "uk";
// Do not modify
var a = d.createElement(t);
var f = d.getElementsByTagName(t)[0];
a.async = 1;
a.src = s;
a.text ='{shopID:"'+shopId+'",shoeID:"'+shoeId+'",locale:"'+locale+'",scale:"'+scale+'"}';
f.parentNode.insertBefore(a, f);
})(document, 'script', 'https://shoesize.me/assets/plugin/loader.js');
</script>
Update your browser to view this website correctly. Update my browser now