Shopify
Learn how to install the Videowise Widget on your site.
Customer Events Pixel Code
If your Shopify version supports web pixels go to “Settings -> Customer events” and click the “Add custom pixel”. Give the new pixel a name like “Videowise Pixel” and add the following pixel code:
You don’t need to create a custom pixel if the Videowise Pixel was automatically created and shows as “Connected”
Checkout Page Pixel Code
If your Shopify version does not support web pixels, you have to add the following code in the “Settings -> Checkout -> Order status page”
If your Shopify store uses a headless theme, you should execute the pixel code after the orderCreate
mutation.
Make sure that the variables needed for the pixel are set correctly, before the function is invoked.
orderId
(String): your order id
orderTotal
(Number): the total order amount, including taxes and shipping (for Shopify stores, the order total should be divided by 100)
orderCurrency
(String): the order currency, 3 letters ISO code (USD,GBP,JPY,etc)
orderItems
(Number): number of items in the order
shop
(String): your shops domain (mystore.myshopify.com)