Skip to main content

What this is

A tag manager is one way of placing a Zeotap pixel on a site, an ad or a campaign so that the events happening there flow into Zeotap as a pixel source. This is an inbound integration — the pixel brings your web and campaign events into the Zeotap CDP; it does not send Zeotap data out to another platform. The pixel itself is built in the Zeotap CDP App. You create the source, add the global properties and then create the individual event pixels, as described in Create a Web Pixel/Web iFrame/App Pixel source and Implement the Pixel Source. This page covers the last step: taking the pixel Zeotap generated for you and deploying it through a tag manager, so that you can choose which pages it fires on and attach extra values to it without changing the site’s own code. The screenshots on this page show Google Tag Manager (GTM). The same three ideas — a tag that carries the pixel, a trigger that decides when it fires and variables that fill in values at run time — apply to other tag managers.

Prerequisites

Before you begin, confirm the following:
  • A Web Pixel API, IFrame or App Pixel API source exists in the Zeotap CDP App. See Create a Web Pixel/Web iFrame/App Pixel source.
  • The pixel you want to deploy has already been created inside that source, and you have copied it from the source’s IMPLEMENTATION DETAILS tab. See Implement the Pixel Source for global properties, event pixels, generic pixels and masked pixels.
  • You have a Google Tag Manager account, and the GTM container is already installed on the site you want to track. For setting up an account and a container, see Google’s Setting up and installing Tag Manager.
  • You know which pages of the site, ad or campaign the pixel should fire on.

How a pixel behaves inside a tag manager

Google Tag Manager has three main parts:
  • Tags — snippets of JavaScript or tracking pixels.
  • Triggers — these tell the tag manager when or how to fire a tag.
  • Variables — additional information the tag manager needs for the tag and the trigger to work.
A Zeotap pixel is deployed as a Custom HTML tag. The tag carries the pixel you copied from the source, a page view trigger decides which pages it fires on, and variables supply the values that are only known at run time.
This is not the same integration as the Zeotap Collect Tag, which is a Zeotap-published custom template in GTM and belongs to a Tag Manager source rather than a pixel source. If you want the JavaScript tag template instead of a pixel, see Google Tag Manager and Implement the Google Tag Manager Source.

Add the pixel to Google Tag Manager

1. Create the trigger

Add a page view trigger for each page, or for all the pages, on which you want to fire the tag.
1
In your GTM workspace, go to Triggers and click New.
2
Give the trigger a descriptive name, click the Trigger Configuration block and choose Page View as the trigger type.
3
To fire the pixel on every page of the site, leave the trigger set to All Page Views.
Google Tag Manager Trigger Configuration for a trigger named AllPages, with trigger type Page View and This trigger fires on All Page Views.

A page view trigger left on All Page Views, so the tag fires on every page of the site.

4
To fire the pixel only on certain pages, select Some Page Views and add the condition that identifies them — for example, a Page Hostname that contains the hostname of the site or campaign landing page.
Google Tag Manager Trigger Configuration for a trigger named HomePage, with Some Page Views selected and a Page Hostname contains condition.

The same trigger type narrowed to Some Page Views with a Page Hostname condition.

5
Save the trigger. Repeat this for each set of pages you want to fire the pixel on separately.

2. Create the Custom HTML tag

1
Go to Tags and click New, or use Add a new tag from the workspace overview.
The New Tag card in the Google Tag Manager workspace overview, with the Add a new tag link.

Starting a new tag in Google Tag Manager.

2
Click the Tag Configuration block and choose Custom HTML as the tag type.
The Choose tag type panel in Google Tag Manager, with Custom HTML listed under Custom.

Choosing Custom HTML from the tag type list.

3
Paste the pixel you copied from the IMPLEMENTATION DETAILS tab of your Zeotap source into the HTML field. Paste it exactly as copied — the pixel already carries the write_key for your source, the environment, the global properties and the eventType it records.
4
Under Triggering, choose the trigger you saved in the previous section.
The Choose a trigger window in Google Tag Manager, listing All Pages and two saved page view triggers.

Attaching a saved page view trigger to the tag.

5
Name the tag descriptively and save it, so that it is ready for testing and deployment.
A Google Tag Manager Custom HTML tag named zeotap_tag, showing the HTML field and the fired trigger under Triggering.

The saved Custom HTML tag with the pixel in its HTML field and a page view trigger attached.

3. Attach extra values with variables

To include additional parameters in the pixel, create variables that hold the values and reference them from the tag. The reference works like a macro in the tag URL: the tag manager replaces it with the value at run time.
1
Go to Variables and create a new variable.
2
Click the Variable Configuration block and choose the variable type that holds the value you need.
The Choose variable type panel in Google Tag Manager, listing page variables such as 1st Party Cookie, Custom JavaScript and Data Layer Variable.

The variable type list in Google Tag Manager.

3
Configure the variable. For example, a 1st Party Cookie variable reads a cookie that your site sets — enter the Cookie Name to read, then name and save the variable.
Variable Configuration in Google Tag Manager for a variable named u_1p, with variable type 1st Party Cookie and a Cookie Name field.

A 1st Party Cookie variable configured to read a named cookie from the site.

4
Open the tag and, in the HTML field, reference the variable where the value belongs. Typing {{ opens the variable picker, so you can insert a saved variable without typing its name.
The HTML field of the zeotap_tag Custom HTML tag in Google Tag Manager, with the variable picker open over the pixel URL.

The variable picker opening inside the tag's HTML field.

5
Save the tag. The variable reference stays in the tag, and the tag manager substitutes its value each time the tag fires.
The zeotap_tag Custom HTML tag in Google Tag Manager, with a variable reference appended as a parameter on the pixel URL.

The tag saved with a variable reference appended to the pixel URL.

Note:The records for the country and city columns are blacklisted for ingestion because SPL uses the user’s IP address to find out the country and city automatically. For the complete list, see Blacklisted fields for data ingestion.

Verify the pixel fires

1
In GTM, click Preview in the top-right corner. You are taken to the Tag Assistant page.
2
Enter the address of the site where the GTM container is installed and click Start. You are redirected to that site.
3
Perform the action that should fire the pixel — for example, load one of the pages your trigger matches.
4
Go back to the Tag Assistant window, click Continue and check that your tag is listed under Tags Fired.
5
In the Zeotap CDP App, open the source and use the PREVIEW tab to see the incoming data.

Troubleshoot the deployment

FAQ

Custom HTML. The pixel is pasted into the HTML field of a Custom HTML tag, and the tag’s trigger decides when it fires.
From the IMPLEMENTATION DETAILS tab of the source in the Zeotap CDP App. That tab is where you add the global properties and create each event pixel, and where you copy the pixel once it is built. See Implement the Pixel Source.
In Zeotap you can create one pixel per event, or a single generic pixel carrying the properties you want to capture across pages — a generic pixel keeps the number of tags you have to manage down. See Implement the Pixel Source.
The pattern — a custom HTML tag carrying the pixel, a page view trigger and variables for run-time values — is the same in any tag manager, and the screenshots here show Google Tag Manager. Zeotap also publishes an Adobe Experience Platform Tag Extension; see Tag Managers (CE) for both integrations.

Next steps

Last modified on November 17, 2026