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
- Navigate to Tags in the left menu
- Click New to add a new tag
- Give it a descriptive name (e.g., "Tracking Pixel")
Step 3: Configure Tag Type
- Click on the Tag Configuration field
- 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
- Click on the Triggering field
- Select All Pages from the trigger list
Step 6: Save and Publish
- Click Save to save your tag
- Click Submit to publish the changes
- Add a version name and description
- 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
Updated 13 days ago
