Both Facebook and Instagram have the same ad managing interface (Facebook Ad Manager), and this article describes the flow for both platforms. The most crucial point of this guide is that redirect URLs are forbidden on Facebook. If such URLs are detected on the account, it will be blocked immediately. Facebook prohibits redirects as they potentially can lead to restricted content (adult, dating, etc.)
For all of your Facebook campaigns, no-redirect tracking must be used instead.
Facebook integration allows you to:
- pass all the conversion data back to Facebook, attaching it to the campaigns (not only to the event manager)
- pause non-converting creatives and campaigns directly on a Facebook side, no manual work
Due to Facebook restrictions, conversion data can be delivered to Facebook within 24 hours.
1. Add Facebook template to RedTrack.
Go to Traffic Sources -> New -> find Facebook -> Add the template:
2. You can modify some Facebook parameters in the template. Once you did it, click Save:
Blocked (greyed) parameters cannot be changed and should be used in the same order under the same sub-values. It’s essential for API integration.
Add “fbclid” under sub9 alias and save it. This parameter is required for sending conversion information back to Facebook.
3. Integrate your Facebook account with RedTrack.
The integration will work for Pro and higher subscription plans.
Once you save the source template, the “Connect” button becomes active. Since it is a complex API integration, we need to get permission to integrate from Facebook first. Press connect and follow the steps after (it will ask you to verify your ad account).
You will be redirected back to your RedTrack account settings. This means Facebook accept the integration, and you can proceed with adding your Conversion API key and Pixel ID.
4. Now, you need to generate the Conversion API Key.
Go to your Facebook account -> pixel settings -> settings -> Conversions API -> Create Access Token
Once generated, copy it, and add to your RedTrack integration settings, save the changes.
5. Add your FB pixel to RedTrack.
Your unique pixel can be found in your campaign settings.
Put it to your traffic source settings.
The “Active” button means the integration is active.
API integration gives you the following benefits:
- Synchronize costs.
- Pause: campaign, creative
- Create automated rules
- Receive your conversion data automatically inside Facebook
If you want to receive different conversion events separately in Facebook (the same as in RedTrack), enable the “Types split” option. It will be sending your conversion types to Facebook automatically.
Conversion information will fall to your pixel/data source
6. Verify your domain on the Facebook side.
Due to the new Facebook policy, you should now verify the domain you will be using for your Facebook campaign. How can this be done? Two simple steps:
6.1. Verify it on Facebook: this should be your landing page domain. Here is how to verify your domain on Facebook.
6.2. Make Facebook accept the conversion domain from RedTrack. To do that, add the same domain you have already verified inside your RedTrack offer settings.
Set the Action Source (the type of the conversion to be set for Facebook API):
Add your verified domain here (a root domain will work fine as well):
The domain should be secure, use the following link format:
7. Create a campaign in RedTrack.
Now that we have the traffic source in place, it is time to set up a new campaign. Here is more information on how this can be done.
8. Since Facebook does not support redirect tracking, you will have to use our direct traffic script for that purpose.
Your no-redirect script will be generated automatically and include all the supported macros. Copy the script and add it to your landing page code. More information on no-redirect tracking is available here.
9. Create an Ad on Facebook.
Open Ads Manager > Create Ad > Create New Campaign or Use existing Campaign -> set up campaign parameters -> copy your LP URL (the link without tracking parameters) to the Destination URL field (for some ad types, it is called Site URL):
Add additional tracking parameters to your URL through the “Add parameter” option:
Make sure there are no special symbols that can break the URL (#, %, etc.) in the names of your ads and campaigns – otherwise the data won’t be tracked. sub=FB value should be the same as you have in your RedTrack account.
10. Set the automation and enjoy!