Guides
Log In
Guides

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

  1. Add the base pixel.
    • Add the base pixel to GTM using a template. 👈 (you are here)
  2. Add event pixels (or URL-based conversions).
  3. 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

  1. Open Google Tag Manager.

    (You may be prompted to log in with Google.)

  2. 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.

  3. Select a workspace (top, left), or just use the Default Workspace:

📘

Containers & workspaces

Add the Taboola Pixel template

Once you have opened your GTM container:

  1. In the navigation panel (left), select Templates:

  2. In the Tag Templates section, click on Search Gallery:


  3. 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.

  4. Select the template and click on Add to workspace:

  5. In the confirmation pop-up, click on Add.

Add the base pixel tag

Once you have added the Taboola Pixel template:

  1. In the navigation panel (left), select Tags.


  2. Click on New (top, right):


  3. Click on the Tag Configuration card.

  4. Under Custom, select Taboola Pixel.

    Tip: To shorten the list, click on the search icon (top, right) and type in "Taboola".

  5. 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).

  6. In the Tag Configuration card, confirm that the Pixel Type is Base Pixel.

    When we set up conversion events, we will choose Event Pixel.

  7. Click on the Triggering card.

  8. Select All Pages.

  9. Click on Save (top, right):

  10. 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

  1. Other team members are making changes in the same GTM workspace.
  2. You want to confirm your setup before you publish it.
  3. You want to test why a tag is not working as expected.

In your GTM dashboard:

  1. Click on Preview (top, right).

  2. Enter the URL of the page where the customer journey begins (e.g. the landing page). Then click on Connect:

    1. The Tag Assistant is opened in a new tab.
    2. If the connection is successful, your webpage is opened in a separate window.
  3. Once a connection is made, click on Continue.

  4. Review the Output window to see which tags were fired:

  5. Click on the Close icon (top, left) to stop debugging:

  6. 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.

  1. Click on Submit (top. right).
  2. Review the Workspace Changes.

    This is the set of changes that will be deployed.

  3. (Optional) Enter the following fields:
    1. Version Name - e.g. "Base Taboola Pixel"
    2. Version Description - e.g. "Added the base Taboola Pixel".

      The above fields can help when reviewing a history of changes to your GTM container.

  4. While you wait for GTM to publish your changes, sing like no one is listening :)
  5. Once published, a summary page appears.

What's next?

Well done - you have added the base pixel using GTM!

📘

Next...

  1. Verify that the base pixel is running smoothly.
  2. Add event pixels

    and verify that they are running smoothly.

  3. 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

  1. 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.

  2. Select the TRACKING tab (top).

  3. 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