Setup Meta Pixel with Google Tag Manager Meta Pixel Template

Watch the step-by-step walkthrough below, then follow along with the guide to install the Meta Pixel on your website using the GTM community Meta Pixel Template — no manual code required.

Follow the Steps Book Coaching
Step by Step

Setup Meta Pixel with Google Tag Manager Meta Pixel Template

Follow these steps alongside the video to install your Meta Pixel via GTM.

1

Login to Meta Business Suite or Meta Business Manager

2

Navigate to Events Manager, then Datasets

  • In the left-hand menu, go to Events Manager
  • Your Meta Pixel appears as a Dataset under the connected ad account
3

Copy your Meta Pixel ID

  • Click on your Pixel / Dataset to open it
  • Copy the Pixel ID (a numeric string, e.g. 1234567890123)
4

Navigate to Google Tag Manager

  • Open your GTM container for the website where you want to install the Pixel
5

Create a new Tag

  • In the left-hand menu, click Tags then New
6

Select Templates and search for Meta Pixel

  • Click Tag Configuration, then click the Discover more tag types in the Community Template Gallery link
  • Search for Meta Pixel in the Template Gallery
7

Select the Meta Pixel Template and add it to your Workspace

  • Click on the Meta Pixel template result
  • Click Add to Workspace and approve the required permissions
8

Paste your Meta Pixel ID

  • The Meta Pixel tag configuration will now appear
  • Paste the Pixel ID you copied from Events Manager into the Pixel ID field
9

Click on Triggering and select All Pages

  • Scroll down to the Triggering section and click the trigger area
  • Select All Pages so the Pixel fires on every page of your website
10

Save, Submit and Publish

  • Click Save to save the tag
  • Click Submit in the top-right corner, add a version description (e.g. "Add Meta Pixel"), and click Publish
  • Verify the Pixel is firing by using the Meta Pixel Helper Chrome extension on your website

Need 1-on-1 help with Meta Ads tracking?

Book a 90-minute coaching session and we'll set up your Meta Pixel and events together!

Book a Coaching Session
FAQ

Frequently Asked Questions

Common questions about setting up Meta Pixel via Google Tag Manager.

Why use the GTM Meta Pixel Template instead of installing the base code manually?

The GTM Meta Pixel Template lets you install and manage your Pixel entirely within Google Tag Manager — no direct access to your website's code is needed. It also makes it easier to update the Pixel in the future and keeps all your tracking in one place, alongside your Google tags, consent settings, and other third-party scripts.

Where do I find my Meta Pixel ID?

Go to Meta Business Suite > Events Manager > Datasets. Click on your Pixel — the Pixel ID is the number displayed next to the Pixel name (e.g. 1234567890123). If you manage multiple ad accounts, make sure you are viewing the correct account before copying the ID.

Does the Meta Pixel Template support event tracking?

Yes. The template supports both the PageView base event (fired on All Pages) and standard events such as ViewContent, AddToCart, Lead, and Purchase. You can create additional tags using the same template, each with a different event type and a more specific trigger (e.g. a thank-you page URL for Purchase events).

How do I verify that the Meta Pixel is firing correctly?

Install the Meta Pixel Helper Chrome extension. Visit your website after publishing the GTM container — the extension will show a green pixel icon if the Pixel is firing correctly on the page. You can also check Events Manager > Test Events in Meta to see real-time events coming through from your browser.

Can I use the same Meta Pixel on multiple websites?

Yes, technically — but it is not recommended. Using one Pixel across multiple domains mixes audience and conversion data, making it harder to optimise campaigns for each website separately. Best practice is to create a separate Pixel (Dataset) for each website so your ad account audiences and conversion events remain clean and accurate.

Does the Meta Pixel fire even without the Conversions API?

Yes. The browser-side Pixel (via GTM) fires independently of the Conversions API (CAPI). However, because browser tracking is increasingly blocked by ad blockers and iOS privacy restrictions, Meta recommends using both together for maximum signal coverage. The browser Pixel alone is still a valid starting point before adding server-side tracking.

Keep Learning

Related Meta Ads Tutorials

More step-by-step guides to get more from your Meta Ads campaigns.

Get Personal Help

Book a 1-on-1 Coaching Session

Need a hands-on walkthrough tailored to your account? Book a 90-minute coaching session and we'll set it up together.