WebinarJam and EverWebinar User Documentation Webinars for everyone!

Add Meta Pixel to Google Tag Manager

 

Google Tag Manager is a free service provided by Google that organizes tracking codes and other tags in a single container. This allows you to place the container code on your website once and maintain its contents from a Google dashboard.

In this article, you will learn how to create a Google Tag Manager account, add a Meta Pixel code to it, and publish the Tag container.

Create a Tag Manager Account

Follow the instructions from Google Support documentation to create a Tag Manager account and a container for your webinar pages.

  1. Read: Set up and install Tag Manager (Google Support)
  2. Choose the container type Web and AMP

When the setup is complete, Tag Manager provides you with two code snippets. (See the following example)

Google tag manager container code

Close the Install window with no further action.

Create a Trigger

Configure a trigger

  1. In the Tag Manager workspace, go to Triggers > New
  2. Click anywhere in the configuration module to edit the trigger
  3. Choose trigger type. For this tutorial, select Page View> Page View.

Configure Page URL Event

Tag manager page trigger configuration

  1. Select This trigger fires on Some Page Views
  2. Select Page URL > contains from the trigger conditions drop-down fields
    • Enter https://event.webinarjam.com/registration/thank-you/ in the final condition field
  3. Click the plus icon on the right to add a second rule

Important: The URL specified is correct for both WebinarJam and EverWebinar events. Both applications generate page links at event.webinarjam.com.

Configure Referrer Event

Tag manager referrer event

Add a second event in the same Trigger Configuration window:

  1. Select Referrer > contains from the trigger conditions drop-down fields
    1. Enter https://event.webinarjam.com/register/ in the final condition field
  2. Name and save the trigger

Important: The URL specified is correct for both WebinarJam and EverWebinar events. Both applications generate page links at event.webinarjam.com.

Add a Tag to the Container

Configure a tag

In the Tag Manager workspace, go to Tags > New

Click anywhere in the Tag Configuration box to edit the tag

Meta pixel code in the tag manager

  1. Choose Custom HTML as the tag type
  2. Paste a Meta Pixel or other tracking code into the HTML frame
    • Pro tip: Meta Pixel code is used in this example, but this process is the same to add any other tag or custom HTML you wish to manage in the Google Tag Manager.
  3. In the same Custom HTML window, click Advanced Settings
  4. From the Tag firing options drop-down, select Once per page 

Click anywhere in the Triggering box to select a trigger

Choose a trigger for the tag

  1. Choose the Page View trigger created earlier in this tutorial
  2. Name and save the trigger

Publish Container

To complete the setup and publish your changes, click Submit in the upper right corner of the Google Workspace

  1. Add a version name and description (Optional)
  2. Click Publish
Was this article helpful?
YesNo

© 2024 WebinarJam All Rights Reserved