The Facebook pixel and the Conversions API let you share standard and custom events (customers activity) with Facebook so you can measure and optimize ad performance.
These two tools help businesses improve targeting for new customers, increase online transactions, and directly measure how their Facebook Business Extension integration is helping boost business outcomes. Therefore, Facebook requires that you accurately fire Facebook pixel and Conversions API events for every FBE-integrated business on your platform.
For the Conversions API, a Facebook app is required with the following access level, feature and permissions:
ads_management
, pages_read_engagement
, and ads_read
Follow the Conversions API as a Platform guide to start sending events on behalf of your businesses.
Depending on the FBE vertical your integration is supporting, you have to fire different required and optional standard events.
Once you get the pixel ID from the Webhook or the fbe_business/fbe_installs
endpoint, you must implement the standard events on your business site as follows:
fbe_external_business_id
to it's pixel ID (received via Webhook or fbe_business/fbe_installs
).
Vertical | Required | Optional |
---|---|---|
ECOMMERCE |
|
|
APPOINTMENTS, RESERVATIONS |
|
|
FOOD ORDERING |
|
|
Purchase
and AddToCart
Eventscontents
—Required to enable Advantage+ catalog ads. contents
is an array
of objects that must include:product_id
is the same as the content_id’s
float
. For Purchase
events, the value of the item purchased. For AddToCart
events, the value of the items added to cart.ViewContent
Eventcontent_ids
- The event requires a specific product ID to be passed in to enable Advantage+ catalog ads.agent
- include the agent
string in every pixel fire. The string helps our systems analyze downstream pixel traffic. The agent
string can be passed in as the 4th parameter in the fbq
. It's a FB and partner defined string. For example:fbq('init', '<pixel_id>', {<pii_data>}, {'agent':'<platform_name>'});
We recommend that you enable advanced pixel matching in pixel fires. We have seen higher match rates via automatic advanced matching.