← Back to Resources

Optivo Pixel Implementation – Google Tag Manager

Add Optivo to your site using Google Tag Manager

Overview

If you use Google Tag Manager (GTM) to manage your website tags, you can add the Optivo pixel without modifying your site code directly. This guide walks you through the setup.

Creating the Tag

  1. Log in to your Google Tag Manager account and select your container
  2. Navigate to Tags and click New
  3. Name your tag (e.g. “Optivo Pixel”)
  4. Under Tag Configuration, select Custom HTML
  5. Paste the following code into the HTML field:
<script src="https://id.optivo.digital/id.v1.min.js"></script>
<script>
  window._OPTIVO.init('YOUR-SITE-ID');
</script>

Setting the Trigger

Under Triggering, select All Pages to fire the Optivo pixel on every page of your website. This ensures maximum visitor identification coverage.

Conversion Tracking

Create a second tag for conversion tracking:

  1. Create a new Custom HTML tag named “Optivo Conversion”
  2. Add the code: <script>window._OPTIVO.conversion();</script>
  3. Set the trigger to fire only on your thank-you or order confirmation page

Publishing

Preview your changes using GTM’s built-in preview mode to verify both tags fire correctly, then publish the container.