Tracking conversions with the Meta (Facebook) Pixel
Last updated: May 24, 2023
Note: Facebook Pixel has been renamed to Meta Pixel, and Facebook Conversions API has been renamed to Meta Conversions API (referred to as Conversions API). All previous references to Facebook Pixel in this help page have been updated to reflect this change.
If you’re running ads on Facebook to promote your business, you can add the Meta Conversions integration to measure and track key events and customer actions performed within FareHarbor in order to help improve the performance and measurement of your Facebook ad campaigns.
How does it work?
The Conversions integration uses a Meta pixel to track whenever a customer completes a booking from your website which originated from one of your Facebook ads.
The pixel will send back purchase data (including revenue) to your Facebook Ads Manager account, allowing you to measure how effectively your Facebook ads lead to actual bookings.
Notes:
- FareHarbor currently supports pixel tracking from the confirmation page only, using the “Purchase” standard event. Learn more about event codes,
- The Conversions API supports only one Conversions API pixel per FareHarbor Dashboard. If you have more than one pixel on a Dashboard, only the most recent event will be triggered.
Before getting started
You need both Meta Business Manager and Meta pixel in order to use the Meta Conversions integration.
If you do not have a Meta Business Manager, learn how to make one. You can also create a Meta pixel by following the steps below:
Creating a new pixel ID
- Open Meta Event Manager and select + Connect Data Sources:
- Choose Web, then select Connect.
- Choose Conversions API, then Connect.
- Name your pixel ID, then select Continue.
- Go through the introductory popup window, then select the X in the upper right hand corner of the popup window.
Copy your new pixel ID to continue setting up the Meta Conversions integration.
What you’ll need
To set up the Meta Conversions integration, you need to send the following three items to your FareHarbor account manager:
- Event Source URL: The URL of the verified domain associated with your Facebook Events Manager account. The URL must begin with
http://
orhttps://
. For example:https://fhadventures.com/
and not your actual Facebook page. - Pixel ID: You can find an existing pixel ID by opening Meta Event Manager and selecting the required pixel from the menu on the left.
- Access token: Follow the steps below to obtain your access token.
- Note: the access token needs to be generated after you have configured the parameters for your pixel.
Setting up the Conversions Integration
1. Defining parameters
To properly configure the Conversions integration, you must set which activity the pixel will monitor:
Open Meta Business Manager and select the required pixel from the menu on the left:
In this example, the required pixel is “test-pixel”.
- Navigate to Settings.
Under “Conversions API”, in the “Set up manually” section, select Get started.
- From the new window, select Continue.
Check the “Purchase” event type box, then select Continue.
For “Event Detail Parameters”, select the following:
Note: You may need to click “Select Additional Event Parameters” in order to add all of the correct parameters.
- “Event Time”
- “Event Name”
- “Event Source URL”
- “Currency”
- “Value”
- “Content Type”
- “Content Name”
- “Content IDs”
- “Client IP Address – Do No Hash”
- “Client User Agent – Do Not Hash”
- “Email”
Select Continue, then Confirm Setup.
- Select Finish and close the setup window.
2. Locating the access token
Now that you have defined the activity to monitor, you can get your access token:
- For the new pixel, navigate to Settings.
Under “Conversions API”, in the “Set up manually” section, select Generate access token.
- Copy and save the token.
Once you have your access token, send the access token along with your new Meta pixel ID (viewable in the pixel’s settings) and event source URL to your FareHarbor account manager to finish setting up the integration.
Note: It can take up to 30 minutes for the pixel code to start working on your website.
3. Setting up Aggregated Event Measurement
In order to be able to track events from iOS 14 users you will need to configure the Aggregated Event Measurement protocol.
- Go to your pixel and navigate to the Overview > Aggregated Event Measurement tab.
- Click Manage Events, or if no events are configured, click on Configure Web Events.
- Click Manage Events for each verified domain, and define the most important events that need to be prioritized for conversion optimization.
Notes:
- There can be a maximum of eight conversion events.
- For iOS devices only, only the highest priority event one event will be recorded.
- It takes up to 72 hours for the changes to be applied.
As the Aggregated Event Measurement tab shows a subset of your total events, the number of events may not match the total Pixel/Conversions API tab. For more information on this possible difference, see this page on Facebook’s help center.
Read more on Aggregated Event Measurement on the Meta help page here.
Tracking with the integration
Once you have successfully set up the Conversions integration, you can begin to track the success of your ads.
For example, you can create a report with customized columns to display the number of purchases made with the pixel and its associated revenue by adding the Website Purchases and Website Purchases Conversion Value columns to your report.
Learn more about ads reporting on Facebook
Frequently Asked Questions
Why is my Event Match Quality (EMQ) showing a score other than 10?
For every server event you send, Facebook will show you an Event Match Quality (“EMQ”) score between 0 and 10. The EMQ score indicates how effective your server event’s customer information may be at matching it to a Facebook account. The score is calculated based on the number of customer information parameters you send and their accuracy.
Having a low EMQ score is not necessarily an indication of poor effectiveness, at least for the Facebook Conversions API. We send three customer parameters (Client IP, Client User Agent, Email). Based on these, Facebook has enough data to associate this event with a real user. Adding more parameters is not GDPR-compliant.