📖
Sizebay
  • Initial page
  • Virtual Fitting Room
    • Introduction
    • Implementation directly on your code
    • Implementation via Tag Manager
    • Implementation (via API)
    • Implementation on Vtex IO
    • Implementation on Shopify
    • Checking the Installation
    • Custom Implantation Events
    • Configuration Profiles
    • Understanding Responsivity
  • Data Integration
    • XML Feed Product Integration
    • API Product Integration
    • Onpage Product Integration
    • Return Data Integration
    • Product Variants Integration
      • V1
    • Categories accepted by the Integration
    • Size Tailor
  • Shopping tracker
    • Introduction
    • Sizebay Tracker Script (Client Implementation)
    • Sizebay Tracker Script (Sizebay Implementation)
    • Sizebay Tracker via API (Easy Setup)
    • Sizebay Tracker - Supported Countries and Currencies
    • Platforms
      • Shopify
        • Technical Note
      • Prestashop
      • Magento
      • WooCommerce
Powered by GitBook
On this page
  • 1. Create a anchor element on your product page.
  • 2. Including the Sizebay HTML script

Was this helpful?

  1. Virtual Fitting Room

Implementation via Tag Manager

DO NOT MODIFY THE PRESCRIPT AND ITS CONTENTS. It's also advised to NOT CREATE AN IMPLEMENTATION WITHOUT SIZEBAY'S CONSENT. Both scenarios are considered by Sizebay as extraofficial and WE WILL NOT TAKE RESPONSABILITY FOR SUCH. If there's a necessity to alter our script or anything that might be not working properly, please contact our support team at support@sizebay.com.

1. Create a anchor element on your product page.

You must include the container element that will display the button for the VFR and the measurement chart on your product detailed page. You should place the element in the position where you want the buttons to be displayed.

The excerpt below is an example of how this container could be included. Note the id attribute that was defined in it: your button must contain a valid id attribute. This id will be used later when we are running the plugin's script.

<div id="sizebay-container"></div>

2. Including the Sizebay HTML script

Now on your Tag Manager create a new Custom HTML tag, and place the snippet below. This script must be triggered only in product pages.

<script
    id="sizebay-vfr-v4"
    src="https://THIS-IS-AN-EXAMPLE.com/YOUR-STORE.prescript.js">
</script>

The link of your script should be provided by our Support Team (support@sizebay.com).

Last updated 6 months ago

Was this helpful?