Facebook Conversions API (or CAPI) is designed to help businesses deliver personalized advertising experiences to customers and audiences, all while maintaining data privacy. This tool lets you send web events directly to Facebook from their respective servers. If you use a Facebook Pixel to track events for your ads, you will want to add the Pixel code to your funnel and funnel steps.


Covered in this Article:

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

Step 1: Create an FB Pixel:

Step 2: Apply Pixel Code to your Funnel/Website.

Step 3: Create a Facebook Conversions API Workflow.




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

Step 1: Create an FB Pixel:


  1. Please start creating a pixel by going to your Facebook Business Manager (also known as 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 Web in the options that show up, and then hit Connect.


  5. If you already have pixels, it will ask you to choose between them or create a new pixel. 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.


  6. It will then ask you to provide the URL of the CRM's website/funnel where you will add your pixel code.


Please add in the domain of the funnel/website where you will later add in the pixel code and then click on Check.

If your domain is eligible for this process, then you will see a green checkmark in the domain field., you

Once you see the green checkmark, click on the Next button that appears instead of the Check button.



        7. It will then show you a popup asking you to Choose how to connect your website. 

            Choose the first option, Conversions API and Meta Pixel.



8. It will then ask how you want to Set up Conversions API to connect website activity. Choose Set up Manually.
9. It will take you to the Overview tab for the Manual Implementation process. Read through the instructions and then click on Continue.



10. You will then be taken to the Select Events tab. You will see a dropdown to choose which Industry you are setting up this Pixel for. Choose the one most relevant to your client.


Then it would be best to choose the events you want to send to Facebook. Select all the events you wish to send to Facebook, and click on Continue.



11. You will be taken to the Select Parameters tab, where a few Event Detail Parameters will already be checked. Checkmark Event ID, as the Best Practices tooltip recommends it to the right.


12. Then, under Customer Information Parameters, you will see that Client User Agent will already be marked for you. You must check the Client's IP Address, First Name, Client ID, Email, Business ID, and Last Name.

 

Please Note

You need to atleast select these same checkboxes for every single event that you added to this Pixel.



13. It will then ask you to review the Setup and check all the Parameters you have chosen for each Event one last time. Once you are sure everything is set up as you need it to be, click on Continue


14. In the next step, click on Continue Pixel Setup.


15. You will be shown a popup to Connect website activity using Pixel; choose Install Code Manually.



16. Click on Copy Code to copy the pixel code.

Step 2: Apply Pixel Code to your Funnel/Website.


17. Keep this browser tab open and navigate to your CRM account. Navigate to the Sub Account that you are setting up this Pixel for. 


18. Head on to Sites in the left sidebar and then to Funnels or Websites (depending on where you built the site, which is associated with the domain you used in your Pixel Setup)


19. Click on Edit Page under your desired page and then preferably Edit in a new tab to go to a different account to access the Funnel Builder.
20. Once inside the builder, head to Settings> Tracking Code


21. Paste the code from step 16 in the Header Code, then click "Yes, Save."


22. Do remember to save the funnel once you are done.



Step 3: Create a Facebook Conversions API Workflow.

23. Exit the Funnel Builder.

24. Navigate to Automation>Workflows>Create Workflow


25. Click on Start from Scratch and then Create new 


26. Click on Add New Workflow Trigger

Please Note:

You will need to use the Facebook Lead Form Submitted trigger step to trigger this workflow.

Prerequisite for Facebook CAPI - Funnel Events.

1. In CRM, please go to Settings > Integration > Check that 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.


Once you have chosen the workflow trigger,


If you want it to get fired off by Facebook Form submissions for a specific form, Add Filters>In Form> Choose the Facebook Lead Form. You will not need to add any filters to this trigger unless you want it to get fired off by only specific submissions.



Do not forget to save it down below by clicking on Save Trigger.


27. Then click on Add your first Action. Search for and select the Facebook Conversion API Action:


28. Configure the Facebook Conversion API action. You can name this Action in Action Name if you'd like. In the Event Type dropdown, choose Funnel Event.


29. Head over to the Events Manager tab where you were creating a Pixel. Search for the name of the Pixel you were working on. 
30. Click on Complete Setup.


31. In the Using Conversion API tab, click on Get Started

32. Click on Generate Access Token and copy the Access Token generated.


33. Paste the Access token in the Access Token field in the Facebook Conversion API Action.

34. Navigate back to your Events Manager, Scroll down to the bottom, and click on, Finish under Finish Implementation.


35. Head to Settings and then Copy the Pixel ID. Then Navigate back to your Workflow.  


36. Paste the Pixel ID in the Pixel ID field in the Facebook Conversion API Action.



Please Note:

For Lead Value please use assumed values like 1000 or 2000 so that you can identify value each lead contributes to your pipeline.


Once complete, Save the Action and then Save and Publish the Workflow.