Hello, and welcome to this tutorial on how you can integrate Facebook Conversions API with your other apps using Integromat to optimize your FB Ad Campaigns.
Facebook Conversions API gives you the flexibility to track only the actions you want to without the help of developers.
On top of that with the impending restrictions on third-party cookies, having server data is becoming ever more important for data insurance and security.
And with Integromat, an integration tool, this process can be done easily.
Integromat works as the missing glue to connect server data to your FB ads.
So, let’s say you are running a Outdoor Clothing e-store on Shopify and you want to automatically send new purchase events to your Facebook Business Events Manager through the Facebook Conversions API to optimize your Ad campaigns to target certain products to certain audiences.
You can build a simple integration which is called a scenario on Integromat to take care of this for you, without writing a single line of code.
Ok here we go…
Configuring the scenario
The scenario consists of the following modules:
- Shopify > New events
- Facebook Conversions API > Send event(s)
- Google Sheets > Add a row
- Slack > Create a message
- Ignore Directive
Here’s the scenario:
The first step is to click on the question mark and search for the Shopify app. Here you can see all the modules that are available:
For this use case, select the New Events module which serves as an instant trigger in the scenario. When a new order takes place in Shopify, the information is instantly received and the scenario is initiated:
To configure the module, you will need to add or select an existing Webhook:
Integromat saves you time and automatically attaches the Webhook to Shopify for you.
In order to work with the data from the order/paid event, you have to first run the module so that Integromat can learn the structure of data being received whenever the scenario is triggered.
To do that, click the Run once button then go over to Shopify and manually create an order:
Now that the module has run and the data structure has been determined, the next thing to do is to add the Facebook Conversions API app. To do this, click the plus sign here and search for the app:
Select the Send events module and add or select an existing connection:
Next, enter the Pixel ID in this field here:
Now you need to enter the specific data retrieved from Shopify that you want to send to Facebook for this specific action. This is where you can start to connect purchases to certain audiences for better product targeting.
So under Data, click Add item. Since these are purchased orders, select the Purchase option under Event name:
All you need to do now is map the elements outputted by the Shopify > New events module to the corresponding fields here. Currency to the Currency field, Total Price to the Value field and so on:
For the address details, map the shipping address elements to the respective fields.
Another advantage Integromat gives, is you can also choose how often you want it to run, at regular intervals, daily, monthly etc. But since this is a webhook we will keep it automatic:
Now let’s switch the scenario on by toggling the switch here:
And let’s go over to Shopify and add another order.
Alright, as you can see here, the scenario executed successfully. The numbers in the circles are the number of operations consumed during the execution and by clicking on it, you can view the output of the modules:
Here you can see that the order was instantly received:
And sent to Facebook:
In the Facebook Business – Event Manager, you can see that event “purchase” was received containing all the relevant details as intended:
Now you can better target, say “your winter jackets”, to those up in the North Pole than those in Hawaii.
But wait, that’s not all.
With Integromat, you can create much more complex scenarios – left totally to your imagination:
So let’s say you want to add the data of the orders to a Google sheet for record purposes and send a notification to your sales team’s Slack channel informing them of the order.
Simply add the Google Sheets app to the scenario, followed by the Slack app, mapping the relevant fields in a similar fashion as was done in the original scenario:
On top of all of this, you can ensure your scenario runs even if there is some error in your server data. We have tools that can handle these for you to make sure your scenario runs smoothly and efficiently everytime!
Integromat explodes what you can do with the Facebook Conversions API by allowing you to connect it to your other FB business marketing tools in a far more intuitive way to optimize your FB Ad campaigns and other workflows.