Conversion Code (Shopify Checkout Extensibility)

Steps for installing the conversion code for those using the new Shopify Checkout Extensibility


This route is specific to those that have upgraded the thank-you page to the new Shopify Checkout Extensibility & are using my.justuno and not portal.justuno.

Introduction   


If you have upgraded your thank-you page on Shopify to the new Checkout Extensibility, the path below will help ensure conversions are tracked. This will require creating a custom pixel. 


Creating Custom Pixel


1. When signed into your Shopify account, navigate to the Settings page of your domain.

2. Visit the Customer events page, and select the add custom pixel button. 
3. Name it 'Justuno Conversion Code', and select add pixel. 
4. Under Customer privacy, for Permission select Not required. 

5. For Data Sale, select Data collected does not qualify as data sale.

 Screenshot 2024-05-07 at 5.55.48 PM

6. Paste the code below (feel free to remove the existing comments in the code box).


var script = document.createElement('script'); script.src = "https://cdn.jst.ai/shopifyConversionPixel.js"; document.head.appendChild(script); analytics.subscribe('checkout_completed', (event) => { logConversion(event,browser); });

7. Select Save at the top right and then Connect at the bottom.
All set.