← Back to Resources

Optivo Pixel Implementation with Shopify

Add Optivo tracking to your Shopify store

Overview

Adding Optivo to your Shopify store takes just a few minutes. This guide covers adding the main pixel and conversion tracking.

Adding the Pixel

  1. From your Shopify admin, go to Online Store > Themes
  2. Click Actions > Edit code on your active theme
  3. Open the theme.liquid file
  4. Paste the following code just before the closing </body> tag:
<script src="https://id.optivo.digital/id.v1.min.js"></script>
<script>
  window._OPTIVO.init('YOUR-SITE-ID');
</script>

Conversion Tracking

For Shopify, conversion tracking is added via the checkout settings:

  1. Go to Settings > Checkout
  2. Scroll to Additional scripts (Order status page)
  3. Add: <script>window._OPTIVO.conversion();</script>

Verification

Visit your Shopify store, open browser developer tools, and check the Console tab for the [OPTIVO]: Active on this page. confirmation message.