Google Tag Manager Pixel Integration

Embed the tracking pixel using Google Tag Manager

Google Tag Manager Pixel Integration

This guide shows how to integrate the tracking pixel using Google Tag Manager (GTM).

Step 1: Login and Container Selection

Log in to your Google Tag Manager account and select the container where you want to add the script.

Step 2: Create a New Tag

  1. Navigate to Tags in the left menu
  2. Click New to add a new tag
  3. Give it a descriptive name (e.g., "Tracking Pixel")

Step 3: Configure Tag Type

  1. Click on the Tag Configuration field
  2. Select Custom HTML from the list

Step 4: Embed the Script

Paste the following code into the HTML field:

<script src="{{PIXEL_SCRIPT_URL}}" async></script>

Replace {{PIXEL_SCRIPT_URL}} with the actual script URL provided by your account manager.

Step 5: Configure Trigger

  1. Click on the Triggering field
  2. Select All Pages from the trigger list

Step 6: Save and Publish

  1. Click Save to save your tag
  2. Click Submit to publish the changes
  3. Add a version name and description
  4. Click Publish

Verification

After publishing:

  • Use GTM Preview mode to verify the tag fires correctly
  • Check the Network tab in Developer Tools to confirm the script loads
  • Verify e-commerce events are being captured