Find out which of your Facebook and Instagram ads are actually selling entries. Connect our booking widget to your Meta Pixel to see bookings and revenue in Meta Ads Manager. Meta can then show your ads to the people most likely to enter.
Time to complete: 15–20 minutes
Note: This is an advanced guide. If you'd like a hand setting it up, contact our support team.
Before you start
You must have Google Tag Manager on the page where your booking widget sits. If you haven't done this yet, complete the guide that matches your setup first:
Using our widget on your own website? Adding Google Tag Manager to Your Website
Using Eventrac landing pages? Adding Google Tag Manager to Your Eventrac Landing Pages
You will also need:
Access to your Google Tag Manager account
Access to your Meta Business account
Your Pixel ID, which is a long number such as
123456789012345
Finding your Pixel ID
Log into Meta Events Manager.
Click Datasets and select your pixel.
Click the Settings tab.
Copy the Dataset ID. This is your Pixel ID.
Step 1: Create your variables and triggers
These capture the booking details from the widget. They are exactly the same as the ones used for Google Analytics 4.
Already set up GA4 tracking? You already have these, so skip to Step 2.
If not, follow Step 1 and Step 2 of Track Event Bookings with Google Analytics 4. You can skip the GA4 Measurement ID variable.
When you're done, your User-Defined Variables should look like this. You won't have GA4 Measurement ID unless you've also set up GA4.
And your Triggers should look like this:
Step 2: Add Meta's official template
Google Tag Manager doesn't include Meta tracking by default, so you need to add Meta's free template once.
In Google Tag Manager, click Templates in the left menu.
Under Tag Templates, click Search Gallery.
Search for Meta Pixel and select the template by facebook.
Click Add to workspace, then Add.
Tip: Search for "Meta Pixel", not "Facebook Pixel". Searching for "Facebook Pixel" only shows templates made by other companies.
Step 3: Create the Meta base tag
This tag loads your pixel on every page of your website.
Important: Check whether your pixel is already on your website. A web developer or a website plugin may have added it. If it is already there, skip this step, because adding it twice will double count your visitors.
Click Tags → New.
Click Tag Configuration and select Meta Pixel.
Paste your Pixel ID into the Pixel ID field.
Set the event to PageView.
Click Triggering and select All Pages.
Click Save and name the tag
Meta - Base.
Step 4: Create the widget page view tag
This tells Meta when someone views a page within the booking widget.
Click Tags → New.
Click Tag Configuration and select Meta Pixel.
Paste your Pixel ID into the Pixel ID field.
Set the event to ViewContent.
Add a parameter called
content_name. For its value, click the + icon and select{{pageTitle}}.Click Triggering and select Widget Page View.
Click Save and name the tag
Meta - Widget Page View.
Step 5: Create the purchase tag
This sends each completed booking, and how much it was worth, to Meta.
Our widget sends booking details in the same format as Google Analytics 4. Meta's template reads this format automatically, so you don't need to enter the booking value yourself.
Click Tags → New.
Click Tag Configuration and select Meta Pixel.
Paste your Pixel ID into the Pixel ID field.
Set the event to Purchase, or leave it to use the GA4 data layer if that option is shown.
Click Triggering and select Widget Purchase and Website Purchase
Click Save and name the tag
Meta - Purchase.
Step 6: Publish your changes
Click Submit (top right).
Add a description, such as "Added Meta Pixel tracking for booking widget".
Click Publish.
Your tracking is now live! 🎉
How to test your setup
Test 1: Preview mode
In Google Tag Manager, click Preview and enter the address of the page with your booking widget.
Make a test booking.
Check that
Meta - Widget Page Viewfires as you move through the widget.Check that
Meta - Purchasefires when you complete the booking.
Test 2: Meta Events Manager
In Meta Events Manager, select your pixel and click Test events.
Enter your website address and click Open website.
Make a test booking.
Check that ViewContent and Purchase appear in the list, and that the purchase shows the correct value.
Troubleshooting
No tags fire in Preview mode
This is a Google Tag Manager issue rather than a Meta one. See the Troubleshooting section of the GA4 guide, which covers it.
Tags fire but nothing shows in Meta
Check that the Pixel ID is the same in all three tags.
Check that you're looking at the right pixel in Events Manager.
Make sure you clicked Publish in Google Tag Manager.
Purchases show in Meta but without a value
Open the Meta - Purchase tag and add two parameters by hand: value set to {{value}}, and currency set to {{currency}}. Then publish again.
Visitors or purchases are counted twice
Your pixel is probably installed twice, for example by a website plugin as well as Google Tag Manager. Remove one of them.
What happens next
Once purchases are coming through, you can choose Purchase as the conversion event when you set up a campaign in Meta Ads Manager. Meta will then report how many bookings and how much revenue each ad brought in.
Data privacy
As with our GA4 tracking, only anonymous booking details are sent to Meta: the amount, the currency and the ticket details. Names, email addresses and payment details are never shared. Don't turn on any setting that sends customer details such as email addresses to Meta (sometimes called Advanced Matching).
The Meta Pixel uses cookies. Make sure your website's cookie banner asks for consent before it loads, and that your privacy policy mentions Meta.













