Workflow Action: Facebook - Conversion API
If youāre running Facebook ads, youāll likely want to take advantage of the Conversions API. When running ads, you probably want to calculate the conversion rate, know the cost per lead, cost per sale, etc. Traditionally these metrics have relied on Facebook Pixel, but with the iOS14 update from Apple, contacts have to opt into being tracked (and many donāt do so) which can result in inaccurate numbers.
By utilizing the Facebook conversions API Triggers and Workflow, you can send conversation data to Facebook without the need to cookie contacts. This allows you to have better reporting data.
Step 1: Create a Pixel
Scroll down to Conversions API
Click āGet Startedā
Follow the steps in the next window that pops up to continue
Select the most relevant industry for your customers from the dropdown and check the boxes you want to send through the API.
Under Event Detail Parameters check the box for Event Source URL
Under Customer Parameters - select the data that we can send back from our software.
Client IP address - do not hash (which will automatically check the Client user
agent - do not hash)
Email Address
Click ID (fbc) cookie ā do not hash
Browser ID (fbp) cookie ā do not hash
First Name
Last Name
Repeat the Parameters selection for each event you selected (such as Find Location, Add to Cart, etc.)
Click Continue to review your setup.
After reviewing the information, click Confirm and Finish.
Step 2: Create the Workflow
In order for this Conversions API to function properly you must choose one of four triggers to start the workflow. The trigger can be: Form Submitted, Survey Submitted, Two-Step Order, Appointment triggers.
Choose one of these triggers (or more than one) and start the workflow.
Add an action to the workflow. Select Facebook- Conversion API
If you donāt have your Facebook integrated yet, youāll be prompted at this step to go complete the integration. (We have other tutorials that cover the Facebook integration.)
Fill out the appropriate fields for the action.
Navigate back to the Pixel, and in the Pixel settings under Conversions API, click the āGenerate Access Tokenā hyperlink.
Copy this and paste it into the workflow.
Back in the Pixel settings, copy the Pixel ID to paste into the workflow.
NOTE: Custom values work in the Access Token and Pixel ID fields.
Choose the event name, value, and currency.
NOTE: If you wish to run a test, you can copy the Facebook Pixel Test Code from the Settings, paste it here into the āTest Codeā field, and then run a test of the workflow. To run the test, the workflow must actually be triggered by an event (like a form submission). The āTest Workflowā button doesnāt allow testing FB conversions with API.
If you donāt see the āTest Eventsā section in your Facebook Business Manager for the Pixel, check the āDomains in your Allow Listā under the Settings section to ensure the domain is approved.
Click āSaveā to confirm the event is added into the Workflow.
Switch the Workflow from Draft > Published mode in the top right.
Click āSaveā in the top right corner
Last updated
Was this helpful?