Add the base pixel in Google Tag Manager (using a template)
Set up the base pixel in GTM (Google Tag Manager), using the Taboola Pixel template.
Taboola pixel - End-to-end flow
- Add the base pixel.
- Add the base pixel to GTM using a template. 👈 (you are here)
- Add event pixels (or URL-based conversions).
- Verify your setup.
Overview
To add the Taboola base pixel in GTM using a template, refer to the instructions below.
Advantages of this flow
No need to work with code snippets - just fill in the form fields proviuded in the Taboola Pixel template.
For an overview of the available flows, see: The base pixel
Shopify store owners
For Shopify store owners, we recommend using the Taboola Shopify app.
Setup
Open your GTM container
-
Open Google Tag Manager.
(You may be prompted to log in with Google.)
-
Under
Container Name
(left), click on the relevant container.Note the
Container ID
("GTM-XXXXXXXX"
) on the far right.You can change your selection later, by clicking in the top, left corner.
-
Select a workspace (top, left), or just use the
Default Workspace
:
Containers & workspaces
- Containers (Official docs)
- Workspaces (Official docs)
Add the Taboola Pixel
template
Taboola Pixel
templateOnce you have opened your GTM container:
-
In the navigation panel (left), select
Templates
: -
In the
Tag Templates
section, click onSearch Gallery
:
-
Search for a template called
Taboola Pixel
.Make sure to select the
Taboola Pixel
template.Do not select the
E-Commerce Taboola pixel
template, unless instructed by Taboola. -
Select the template and click on
Add to workspace
: -
In the confirmation pop-up, click on
Add
.
Add the base pixel tag
Once you have added the Taboola Pixel
template:
-
In the navigation panel (left), select
Tags
.
-
Click on
New
(top, right):
-
Click on the
Tag Configuration
card. -
Under
Custom
, selectTaboola Pixel
.Tip: To shorten the list, click on the search icon
(top, right) and type in
"Taboola"
. -
Fill in the
Taboola Account ID
for the account that you will use to create conversions.Tip: To find your Account ID, see: Tips & Techniques > Obtaining your Account ID (below).
-
In the
Tag Configuration
card, confirm that thePixel Type
isBase Pixel
.When we set up conversion events, we will choose
Event Pixel
. -
Click on the
Triggering
card. -
Select
All Pages
. -
Click on
Save
(top, right): -
When prompted, enter a descriptive name for the tag - e.g.
Taboola Base Pixel
.
At this stage, your changes are not live - you still need to publish them.
Preview your changes (optional)
Although, you have added the tag within GTM, your changes are not live yet - you still need to publish them.
You can optionally preview (test-drive) your changes before you publish them. If you prefer to publish your changes immediately, skip ahead to the next section.
The
Publish
action will publish all recent changes - including changes made by other team members within this GTM workspace.
When to use preview
- Other team members are making changes in the same GTM workspace.
- You want to confirm your setup before you publish it.
- You want to test why a tag is not working as expected.
In your GTM dashboard:
-
Click on
Preview
(top, right). -
Enter the URL of the page where the customer journey begins (e.g. the landing page). Then click on
Connect
:- The Tag Assistant is opened in a new tab.
- If the connection is successful, your webpage is opened in a separate window.
-
Once a connection is made, click on Continue.
-
Review the
Output
window to see which tags were fired: -
Click on the
Close
icon (top, left) to stop debugging: -
Once you are done with the Tag Assistant, close the browser tab.
Publish your changes
The
Publish
action will publish all recent changes - including changes made by other team members within this GTM workspace.
- Click on
Submit
(top. right). - Review the
Workspace Changes
.This is the set of changes that will be deployed.
- (Optional) Enter the following fields:
Version Name
- e.g."Base Taboola Pixel"
Version Description
- e.g."Added the base Taboola Pixel"
.
The above fields can help when reviewing a history of changes to your GTM container.
- While you wait for GTM to publish your changes, sing like no one is listening :)
- Once published, a summary page appears.
What's next?
Well done - you have added the base pixel using GTM!
Next...
- Verify that the base pixel is running smoothly.
- Add event pixels
and verify that they are running smoothly.
- Alternatively, add URL-based conversions.
and verify that they are running smoothly.
Tips & Techniques
The sections below contain different tips & techniques that can help with your integration.
Obtaining your Account ID
-
Open Taboola Ads, and select the account (top, right) that you are using to track conversions.
Make sure to select the Taboola account that you are using to track conversions.
-
Select the
TRACKING
tab (top). -
Copy the numeric
Account ID
on the screen (top, left):
Additional resources
Some basic terms
- Taboola Pixel - a Taboola code snippet that tracks user activity and gathers information about browsing behavior.
- Tag - (aka marketing tag) a code snippet that collects data from your website - e.g. Taboola Pixel.
- Google Tag Manager (GTM) - used to manage (add, remove, disable) tags.
- GTM container - A collection of tag definitions in GTM.
- GTM container code - A code snippet on your web page that injects all tags in your GTM container.
GTM basics
- Get started with Tag Manager (Official docs)
- Set up your Google tag (Official docs)
- Google Tag Manager ID (aka Container ID) and how to get it (An in-depth tutorial for beginners)
Updated 10 days ago