Skip to main content
Facebook CAPI Integration

Facebook CAPI Integration

Updated over a week ago

At a Glance: The Facebook Conversion API method allows advertisers to route Facebook users to their sites and apps, fire server-side conversion events (vs. standard cookie-based events), and then feed event info directly into the Facebook ad platform. Trackier has therefore created an easy integration to connect your campaigns to CAPI in a very efficient manner.

Following are the steps that need to be followed to make a successful integration with the Facebook conversion API.

Facebook Configuration

  • Login to the publisher interface. You will find an integration named Facebook on the left control bar.

    Facebook CAPI Integration on Trackier

  • Furthermore, you would need to add a new configuration through the Actions button at the top right.

    Facebook CAPI Integration on Trackier

    Facebook CAPI Integration on Trackier

  • On this page, please enter the following information:

    1. Add your business name: Add this as per your requirement

    2. Facebook Dataset ID: For Dataset ID

      1. Go to the Data sources.

      2. There is a limit to creating 100 data sets in one account. If the limit is already reached, select an existing data set.

      3. After the data set is created or selected, you will get two pieces of information on the same page after scrolling down:

        1. Data set ID (which would also be used in creating postback)

        2. Access Token

    3. Access Token: Once you create the dataset, you can get the access token from the dataset itself (previously known as a pixel).

      Facebook CAPI Integration on Trackier


      Facebook CAPI Integration on Trackier

Facebook Postback

Once you have done the Facebook configuration, come back to the dashboard.

  1. You will find an option named Postback on the left control bar in the Integration menu.

    Facebook CAPI Integration on Trackier


  2. You will find an option to "Add Facebook Postback" in the Postback section of your publisher interface.

    Facebook CAPI Integration on Trackier


  3. The details that need to be entered on this page are explained below:

  • Event Type: Conversions (this will be selected by default) and Goals.

  • Type : Facebook (this will be pre-filled)

  • Data: This is a pre-filled option, and no changes can be made.

  • Postback Config Name: You can add any name to your postback configuration.

  • Facebook Event ID: It is completely optional and is just to avoid duplicate data. In the event that duplicate data has been fired, this macro will guide Facebook to ignore such data.

  • Campaign: Enter the campaign for which you want to set this postback and for which the ad campaign is running.

  • Goal: Select the goal from the drop-down for which you are adding the postback.

Note:
The Goals option will be visible only when the event type is selected as Goals.

  • Action source: This is the source where the conversion is happening and is predefined by Facebook. It could be a website, an application, etc.

  • Facebook Config: It is the name of the Facebook configuration that you have done.

  • Facebook events: It is the type of event for which you are firing this conversion. There is a pre-defined list, and if you want, you can create custom events as well. This implies that you would be required to just type in the event name and remember to type in the exact name with case-sensitive letters.

  • Custom event: If you want to pass some additional data to Facebook, you do that via a custom event.

  • Facebook custom data: If it is a sale campaign, we need to send the sale amount and the currency in the postback; hence, select the macro for sale amount and currency.

  • Facebook user data: "Facebook clid" is the essential data as part of this, wherein the click ID is passed. These details will also be pre-filled; refrain from making any changes to these details. Since making any changes will affect the tracking,

    Facebook Postback on Trackier


    Facebook Postback on Trackier

    ​​

Note:
The "Add Facebook Postback" option will only be available after setting up the Facebook configuration.

Editing Postback

If there is a need to edit the postback or view the postback logs, you can do that through the Actions button.

Editing Facebook Postback on Trackier


Note:

The postback can be fired for approved, pending, cancelled, or rejected conversion status.

To do that, you need to go to Postback/Pixel, edit the postback, and select the allowed conversion status from the drop-down.

By default, postback will be fired only for the approved conversion status.

IMPORTANT

'In the context of Facebook CAPI integration, the meta generates a significant number of clicks via bots. It is important to note that Trackier diligently tracks and reports all clicks received, including those from Facebook.

However, it is critical to understand that Facebook clicks are beyond Trackier's control. We are committed to maintaining transparency and accuracy in reporting. Please be assured that, despite the high volume of clicks, our platform's robust targeting mechanisms will rigorously evaluate and reject any clicks that do not meet your specified targeting criteria.

If you have any additional concerns or specific cases that require attention, please contact our dedicated support team for prompt assistance and resolution.


We're thrilled to have put together a top-notch team of qualified experts who are available to handle any of your concerns and respond to any inquiries you may have. You can contact us at any time by sending an email to support@trackier.com or using the in-platform chat feature.

Did this answer your question?