How to Set Up a Funnel Event Pixel for the Facebook Conversions API
To send funnel conversions to the Facebook Conversions API, create a Meta Pixel in Events Manager, add the pixel code to your Sparkforge funnel header, then build a workflow with the Facebook Conversion API action using the access token and Pixel ID.
The Facebook Conversions API (CAPI) sends funnel events directly from your server to Meta, which improves attribution when browser tracking is blocked. Setting it up in Sparkforge is a three-step process: create the pixel, add the pixel code to the funnel, and build a workflow that sends the events.
Step 1: Create a Meta Pixel
- Open Meta Business Suite and go to Events Manager.
- Confirm you're connected to the correct Ad Account and Page.
- Click Connect Data Sources in the left sidebar, choose Web, and click Next.
- Create a new pixel or select an existing one, then click Continue.
- Enter the funnel domain you'll add the pixel to and click Check. A green checkmark confirms eligibility.
- Choose Meta Pixel and Conversions API when prompted.
- Click See Instructions under Conversions API and follow the manual implementation flow.
- Pick the most relevant industry, select the events you want to send, and click Continue.
- Under parameters, check Event ID, Client IP Address, First Name, Last Name, Email, Client ID, and Business ID. Apply the same parameters to every event.
- Review and click Finish.
- Choose Set up Meta Pixel, select Install Code Manually, and copy the pixel code.
Step 2: Add Pixel Code to Your Funnel
- Open the Sparkforge sub-account where the funnel lives.
- Go to Sites > Funnels (or Websites).
- To track a single page, click Edit, paste the pixel into the Header Tracking section, and Save.
- To track every page, open funnel or website settings and paste the code into Head tracking code.
Step 3: Build the Conversions API Workflow
- Open Automation > Workflows > Create Workflow.
- Add a trigger: Form Submitted, Customer Booked Appointment, Survey Submitted, or Order Form Submission. Filter to the specific form, calendar, or order form.
- Click Add your first Action and choose Facebook Conversion API.
- Set Event Type to Funnel Event.
- In Meta Events Manager, go to Data Sources > Settings and click Generate Access Token. Paste it into the workflow action.
- From the same Settings page, copy the Dataset ID (this is the Pixel ID) and paste it into the Pixel ID field.
- Save the action, then save and publish the workflow.
Lead Value
Use a placeholder value such as 1000 or 2000 for Lead Value so you can identify what each lead contributes to your pipeline.
Custom Mapping
Custom mapping is off by default. Toggle it on to map FBCLID for funnel events or Facebook Lead ID for lead events. Custom values override the system defaults; leave them blank to use the defaults.
Frequently Asked Questions
Where do I find my Pixel ID and access token?
Can I track only one funnel page?
Which workflow triggers send Facebook Conversions API events?
What value should I put in Lead Value?
When should I enable custom mapping?
Was this article helpful?
Thanks for the feedback.