Size Adviser display confirmation
If you wish to receive a service status confirmation for each product, you may insert an optional script after the Size Adviser “call to API” script on your product pages.
You may use this information to display your own size guide conditionally when Size Adviser does not show on a specific product page, or to run AB tests.
The script should always be inserted after the platform.js
Adjust the script to include your own function depending on your requirements.
Make sure the display confirmation script always comes after the “call to API” script.
Script example
SIZE ADVISER DISPLAY CONFIRMATION SCRIPT EXAMPLE
The following code should be included on your product pages to receive a service status confirmation
Please add your own functions to this script depending on your requirements
<script src="https://static.usizy.es/js/platform.min.js"></script>
<script>
uSizy.associated_product = function () {
console.log('associated_product')
}
uSizy.unassociated_product = function () {
console.log('unassociated_product')
}
</script>