Facebook Conversions API and Aesthetix CRM

Facebook Conversions API aims to connect your marketing data directly with Funnels and Workflows in LeadConnector and Facebook Meta that help optimize ad targeting, decrease cost per result, and measure outcomes. With Facebook Conversion API, you can collect the people who are more likely relevant audiences for running your ads for retargeting. It is a setup for your business to upload server events for your web traffic. 

Covered in this Article

What is the difference between Funnel Events and Lead Events in Facebook Conversion API?

How to set up FB CAPI (Conversions API) Lead Event?

Step 1: Create an FB Pixel:

Step 2: Create two FB Conversions API Workflows.

Workflow -1 to Create/Update Opportunity

Workflow -2 to send Conversion data to FB Conversion API


What is the difference between Funnel Events and Lead Events in Facebook Conversion API?

In Aesthetix CRM, we support two types of Facebook Conversion API. 

Funnel Events

The events are sent from a web server to record the events when the user visits the page, adds products to a cart, purchase, subscribe, submit an application, and more. To learn more about how to set up Funnel Event Pixel using FB CAPI, please read this article.

Lead Events

Aesthetix CRM sends the events with how the Lead moves across the pipeline stages. For example, a the Lead 2 Patient Pipeline. The leads are moving across the pipeline stages, from new lead to booked, patient, cold, or not good fit. With Lead events, Aesthetix CRM sends the data to Facebook Conversion API - with CRM being the data source. 

Conversion Leads - 

Facebook conversion leads integration helps your Facebook lead ads Instant Forms optimize for the quality of leads instead of the volume of leads. When users submit the Instant form, their contact information is captured and synced in Aesthetix CRM. This contact information can then be used to follow up with the leads to nurture them and move them further down the sales funnel. As each Lead moves through the sales funnel, the Conversion leads integration allows the advertiser to share the lead status with Meta, which allows Meta to optimize the lead ad for increased lead-to-sales Conversion.

Guidelines to ensure your business is a good fit for the Conversion Leads integration:

  • Use Facebook/Instagram Lead Ads (Instant Forms) [Facebook form field mapping inside LeadConnector is used]

  • Ensure the 15-16 digit Meta Lead ID is mapped to your CRM

  • Generate at least 250 leads per month

  • Can upload data regularly at least once per day

  • The lead stage you want to optimize for occurs within 28 days of leads being generated

  • The lead stage you want to optimize for has a 1% - 40% conversion rate.


How to set up FB CAPI (Conversions API) Lead Event?

Step 1: Create an FB Pixel:

  1. Please start creating a pixel by going to your Facebook Business Manager (also called the Meta Business Suite) > Head over to the left and then the Events Manager tab.

  2. Ensure you are connected to the correct Ad Account with all the required Access to that FB Page.


  3. Head over to the left sidebar and then click on Connect Data Sources

  4. Choose CRM in the options that show up, and then click on Next.

  5. It will show you a popup with Best Practices and a button to click Next. The Best Practices are Facebook suggestions on how to utilize this capability best. Click on Next to proceed.

  6. Click on Create New Pixel or Use an existing pixel from the list for collecting the data. Click Continue when the pixel details are added.

  7.  After creating or selecting the pixel. Choose "LeadConnector" as CRM partner and click on Next

  8.  You will see the below screen where your CRM is selected.

  9. Now you can start sending CRM events for which you will need to setup two workflows which is explained below.

Please Note

Prerequisite for Facebook CAPI - Lead Events
1. In CRM, please go to Settings > Integration > Check the Facebook account is connected with admin permissions. Please ensure that your FB Business Page, which you are an admin of and have all access to, is integrated and the correct FB lead Form is mapped in your CRM account.

 

2. In Facebook From Field Mapping, the form should be mapped correctly and the status should be enabled. Facebook form mapping has moved under location settings > integrations > Facebook Form Field Mapping. Here is a list of the supported custom fields which include multiple and single option custom fields as well.

Step 2: Create two FB Conversions API Workflows.

Please Note

You need to create Two Workflows for this process to work effectively.

The first workflow focuses on generating leads and adding them to the correct pipeline with an Create/Update Opportunity Action. Once a lead is captured, it is important to ensure that it is properly tagged and categorized in the correct Pipeline and Stage so that it can be effectively managed and tracked as it moves through your sales funnel.

The second workflow focuses on triggering events for Facebook conversion leads. The goal of this workflow is to get fired off by a lead being moved to a specific pipeline stage and then a Facebook Conversions API workflow action pushes them to FB CAPI.

By combining these two workflows, you can create a comprehensive lead generation and management system that is optimized for Facebook conversion leads. This can help you generate more qualified leads, convert more customers, and grow your business over time.

To send a CRM event from your CRM, you need to create a workflow that does that. For now, you can navigate away from the FB Events Manager> Data Sources> Settings (but keep it open in a tab in your browser)and head over to your CRM account.


Workflow -1 to Create/Update Opportunity

  1. Once the FB page is integrated correctly in sub-account settings, go to your Automations> Workflows >Create a new Workflow.

  2. Add a new Workflow Trigger in your Workflow and have it get fired off by Facebook Lead Form Submitted (if that is the first stage of your conversions flow)


  3. You can add filters to choose which specific Facebook Lead Ad form to get the Workflow to be triggered by submissions to that form only


  4. After this, add another action for "Facebook Conversion API". 

  5. Add the required details for Access Token, Pixel ID and Stage Name.

  6. For the Access Token, head over to your Facebook Events Manager> Data Sources> Settings> Scroll down and click on Generate Access Token. Once generated copy the Access token and paste it in the workflow action configuration.


  7. For the Pixel ID, head over  to your Facebook Events Manager> Data Sources> Settings> Scroll down and copy your Dataset ID (this will be Pixel ID). Paste the Pixel ID in the Pixel ID field in your Workflow's FB Conversion API Action. 

  8. And then add the action for Create or Update Opportunity. Also specify the Pipeline and Pipeline Stage for this action.


  9. The Opportunity Name can be defaulted to the Lead's Full Name by using the custom value dropper:


  10. Toggle on Allow Duplicate Opportunities for this particular Workflow.


  11. Publish and Save the workflow



Workflow -2 to send Conversion data to FB Conversion API

  1. Create another workflow. Add the Pipeline Stage Change trigger and a Facebook Conversion API action.


  2. Choose Lead Event as the Event Type. Enter the Access Token and Pixel ID.
    For Stage Name :  It should accurately represent your Pipeline and Pipeline Stage name for better reporting. Select it using the tag icon at the end to add the custom value of the opportunity pipeline and stages. 


  3. For the Access Token, head over to your Facebook Events Manager> Data Sources> Settings> Scroll down and click on Generate Access Token. Once generated copy the Access token and paste it in the workflow action configuration.


  4. For the Pixel ID, head over  to your Facebook Events Manager> Data Sources> Settings> Scroll down and copy your Dataset ID (this will be Pixel ID). Paste the Pixel ID in the Pixel ID field in your Workflow's FB Conversion API Action. 


     

  5. Save the Action, Save and Publish the Workflow.

  6. You can test your Workflow using the Lead Ads Test Tool. Choose the correct Page and Lead Ad Form, then Create a Lead.

  7. The Event should be picked up by your Events Manager, which is actively waiting for Events sent by your Workflow. It takes up to a day to successfully pick up an event sent by your Workflow.

  8. Once the Event is sent from the Lead Ads Test Tool, please go to Opportunity Pipeline and move the dummy Facebook lead to another stage configured in the Workflow. Once this is completed, check the workflow status as executed and the conversion API event in Event Manager.

11. Return to the “settings” tab in Events Manager to track the progress of the Conversion Leads integration. 

Important Note - For both the above worflows, please enable Allow Multiple in Workflow Settings.

Did this answer your question?
😞
😐
😁