If you want to set up conversion forwarding to Facebook, go to this section.
Logic
Facebook and Binom sync happens by the tracker sending requests to the Marketing API. At the moment, the tracker only supports costs sync. We will later add postback sending via Conversion API.
In order to sync the costs you need to add a Facebook (Integrations — Facebook) account inside your campaign's settings, choose sync frequency, and a token that will be used for cost syncing.
Make sure that you are passing the token you want to sync the costs by from Facebook to the tracker.
Creating an account
You need to get the Access token and (preferably) a mobile proxy to add the Facebook account to the tracker.
Getting Access token
In order to get a token, log in to your account on https://developers.facebook.com/ and follow these steps:
Adding proxy
While adding a proxy, you can insert a ready URL in such format: socks5://u20981:zNdq5A@22.45.70.37:13050
Or you can manually fill out all the fields.
CAPI
You will need a CAPI access token and a Pixel ID. You can find a manual on how to set them up in Facebook's official docs.
In order to send a conversion to Facebook, you need to set up:
FB Pixel - inner ID of a Facebook pixel
Verified domain - a domain that is verified in Business Manager. If you don't have one, you can use the domain of a lander
Events mapping - correlation of conversion statuses in the tracker and in Facebook
In order to get access to FB Pixel, you need to create a CAPI token.
One token can be connected to several different pixels. You can also connect a proxy to the access token. In this case, the tracker will be sending conversions to Facebook via proxy.
In the Events mapping field you can set up correlations between the conversion statuses that come to the tracker and standardized conversion statuses that the tracker will be sending to Facebook.
How to dynamically get Pixel ID
If you need to set up several different Facebook pixels within one campaign, you can use a dynamic way of getting the pixel. First, you need to add the required pixels to the tracker.
After that, add the fb_pixel_id token in your Traffic Source settings. If you pass the ID of the corresponding pixel in the Campaign link, the tracker will send the conversion to Facebook for the Pixel ID specified in the correct token of the click.
The tracker also supports the following tokens:
fb_email
fb_phone
fb_first_name
fb_last_name
This info, if present, would be forwarded to Facebook along with the conversion.
If you have pixel A in campaign settings and pixel B was passed in the campaign url, the tracker would forward the conversion to pixel B because it has priority.
How to get fbp cookie
If you are using a lander in your flow, you can place the FB Pixel code on it.
This code is responsible for passing the Meta browser identifier (_fbp) to the tracker. It allows for better attribution of conversions against real users. The fbp token must be set up in the Traffic Sources settings in advance.
In case there is no Meta pixel on the page, this snippet will install it and will send the PageView event to the corresponding pixel of Facebook. By default, the events will be sent to the pixel that is set up in the campaign settings. However, if you pass &fb_pixel_id=ID_OF_PIXEL to the lander URL, the event will be attributed to the corresponding pixel.