Connect Your Meta Pixel & Conversions API
The Meta Pixel and Conversions API tell Facebook and Instagram which of your ads turn into real leads. When they are connected, Meta can report your results accurately and show your ads to more people like the ones who already filled out your forms. This guide walks you through creating your pixel, adding it to your funnels and websites, and sending conversions from the Operating System to Meta.
Tool | What It Does |
|---|---|
Meta Pixel | A small piece of code on your pages. It tracks visits and actions in the visitor's web browser. |
Conversions API | Sends the same actions straight from the Operating System to Meta. It still works when a browser or ad blocker stops the pixel. |
Both together | Meta's recommended setup. You get the most complete tracking and better ad results. |
Before You Start
Meta business access: You need admin access to your business in Meta Business Suite and the ad account you run ads from.
Facebook connected: Your Facebook account should already be connected to the Operating System. See Connect Facebook & Instagram.
A live funnel or website: The pages your ads send people to, with your domain connected. See Create a Funnel and Connect Your Domain.
A form to track: For example, a "Get Pre-Approved" form on your funnel.
About 20 minutes: Keep one browser tab open in Meta and another in the Operating System.
Part 1: Create Your Pixel in Meta
Step 1: Create the Pixel
Log in to Meta Business Suite and open Events Manager.
Click Connect Data Sources.
Choose Web and click Next.
Click Create new Pixel (or select an existing one), give it a name like "Anchor Point Home Loans Pixel", and click Continue.
Enter your website domain, for example yourbusiness.com, and click Check. Wait for the green checkmark, then click Next.
When asked how to connect your website, choose Meta Pixel and Conversions API.
Note: Meta sometimes calls a pixel a "dataset". They mean the same thing.
Step 2: Choose Your Events
Under Conversions API, click See Instructions, then click Continue.
On Select Events, choose your industry, then select the actions you want to track, like Lead and Schedule. Click Continue.
On Select Parameters, check Event ID. Under customer information, check Client's IP Address, First Name, Last Name, Email, Client ID, and Business ID. Client User Agent is already checked.
Review your choices, click Continue, then click Finish.
Tip: The more customer details you send, the better Meta can match a lead to the person who saw your ad.
Step 3: Copy Your Pixel Code
Click Set up Meta Pixel.
Choose the option to install the code manually.
Click Copy Code. Paste it into a note for now. You will add it to your pages in Step 6.
Step 4: Copy Your Pixel ID and Access Token
In Events Manager, go to Data Sources and select your pixel.
Click the Settings tab.
Copy the Dataset ID. This is your Pixel ID.
Scroll down to the Conversions API section and click Generate Access Token.
Copy the access token and save it with your Pixel ID.
Important: Meta shows the access token only once. Copy it right away. Treat it like a password and don't share it.
Part 2: Add Your Pixel to the Operating System
Step 5: Save Your Pixel ID and Token as Custom Values
Saving them once means you can drop them into any workflow without copying and pasting from Meta again.
Go to Settings > Custom Values.
Click Add Custom Value. Name it Meta Pixel ID, paste your Pixel ID as the value, and save.
Add a second custom value named Meta Access Token, paste your access token, and save.
Tip: Learn more about custom values in Custom Values Reference.
Step 6: Add the Pixel Code to Your Funnel or Website
Go to Sites, then open Funnels or Websites, depending on where your page was built.
Open the funnel or website, then click its Settings tab.
Paste the pixel code from Step 3 into the Head tracking code box.
Click Save.

Code added here runs on every page of the funnel or website.
Note: To track only one page, open that page in the editor instead, click the code icon, paste the code into Header Tracking, and click Save.
Tip: Repeat this step for every funnel and website your ads send people to.
Part 3: Send Conversions with the Conversions API
Step 7: Create a Conversions Workflow
This workflow tells Meta each time someone fills out your form. If workflows are new to you, start with Workflows 101: How Automation Works.
Go to Automation and click Create Workflow, then Start from Scratch.
Click Add New Trigger and choose Form Submitted. Add a filter for your form, for example "Get Pre-Approved".
Click the + to add an action. Search for Facebook Conversion API and select it.
If you see a Connection Type option, choose Integrations.
Set Event Type to Funnel Event.
In Access Token, click the tag icon and insert your Meta Access Token custom value.
In Pixel ID, click the tag icon and insert your Meta Pixel ID custom value.
Click Save Action.
Name the workflow, for example "Meta Conversions: Pre-Approval Form", then click Save and turn on Publish.
Note: Funnel events work with these triggers: Form Submitted, Survey Submitted, Customer Booked Appointment, and Order Form Submission. You can add more than one trigger to the same workflow.
Step 8: Test Your Setup
In Meta Events Manager, open your pixel and click the Test Events tab.
Enter your funnel's web address and click Open Website.
Fill out your form with test details, such as Alex Rivera and [email protected].
Back in Events Manager, look for a PageView from the pixel and a Lead event from the Conversions API (server).
In the Operating System, open your workflow and check its execution logs to confirm the action ran.
Note: Some events can take up to a day to show on the Overview tab. The Test Events tab usually shows them within a minute.
Part 4: Track Lead Quality with Conversion Leads (Optional)
If you run Facebook or Instagram Lead Ads, you can tell Meta when a lead moves forward in your pipeline, like from "New Lead" to "Application Started". Meta calls this Conversion Leads. It uses your results to show your ads to people who are more likely to become real clients, not just fill out a form.
Note: Meta works best with Conversion Leads when you get about 250 or more Lead Ads leads a month, update leads daily, and move leads to your target stage within 28 days. You can still set it up with fewer leads, but Meta may take longer to use the data.
Step 9: Connect the Operating System as Your Lead Source in Meta
Make sure your Lead Ads are already connected. See Set Up Facebook & Instagram Lead Ads.
In Meta Events Manager, confirm the correct ad account is selected at the top.
Click Connect Data Sources, choose CRM, and click Next.
Read the best practices window and click Next.
Select the pixel you created in Step 1 and click Continue.
When Meta asks for your CRM, search for LeadConnector and select it.
Choose the option to use a partner to connect (no coding), then click Go to Partner.
Meta asks you to allow LeadConnector to connect to your Conversions API. Approve it.
Note: LeadConnector is the connection that links the Operating System to Meta, so seeing that name in Meta is normal. If Meta opens a partner login page after you approve, you can close it.
Step 10: Create the Lead Event Workflows
You need two workflows. The first puts each new Lead Ads lead into your pipeline. The second tells Meta each time that lead moves to a new stage.
Workflow 1: Add new leads to your pipeline
Go to Automation and create a new workflow from scratch.
Add the Facebook Lead Form Submitted trigger. Add a filter for a specific lead form if you like.
Add the Create or Update Opportunity action. Choose your Pipeline and starting Pipeline Stage, for example "New Lead".
For Opportunity Name, use the tag icon to insert the contact's full name.
Turn on Allow Duplicate Opportunities.
Save and publish the workflow.
Workflow 2: Send stage changes to Meta
Create a second workflow with the Pipeline Stage Change trigger. Filter it to the pipeline from Workflow 1.
Add the Facebook Conversion API action and set Event Type to Lead Event.
Insert your Meta Access Token and Meta Pixel ID custom values.
In Stage Name, click the tag icon and insert the opportunity's pipeline stage.
Save the action, then save and publish the workflow.
Important: Open the Settings of both workflows and turn on Allow Multiple. This lets a lead go through the workflow more than once, so every stage change reaches Meta.
Tip: Keep your stage names clear, like "Application Started" or "Closed". Meta shows these names in Events Manager. To learn more about pipelines, see Set Up Pipelines & Opportunities.
Note: Lead events only work for leads that came from Facebook or Instagram Lead Ads, because Meta matches them by their lead ID.
Step 11: Test Your Lead Events
Open Meta's Lead Ads Testing Tool, choose your Page and lead form, and click Create a Lead.
In the Operating System, go to Pipelines and confirm the test lead appears in your starting stage.
Drag the test lead to the next stage.
Check that Workflow 2 ran, then look for the event in Events Manager.
Note: Lead events can take up to a day to show in Events Manager. You can follow the setup progress on your pixel's Settings tab.
Good to Know
One pixel is usually enough. Use the same pixel on all your funnels and websites so Meta sees the whole picture.
Don't add the code twice. If the pixel is in the funnel's Head tracking code, don't also paste it on single pages of that funnel.
Choose your event in Ads Manager. When you build a lead campaign in Meta Ads Manager, select this pixel and the Lead event as your conversion goal.
New token, new value. If you ever generate a new access token, update your Meta Access Token custom value. Every workflow using it updates automatically.
Troubleshooting
The pixel isn't showing any activity.
Confirm you saved the funnel or website settings after pasting the code.
Make sure you pasted the full code, from the first line to the last.
Visit the live page on your domain, not the preview link.
Turn off any ad blocker in your browser while testing.
Conversions API events aren't reaching Meta.
Check that the workflow is published, not saved as a draft.
Confirm the trigger filter matches the form your test used.
Recheck the Pixel ID and access token for extra spaces or missing characters.
If you generated a new access token, the old one stops working. Update your custom value.
The domain check failed in Step 1.
Make sure your domain is connected and your page is live. See Connect Your Domain.
Enter only the domain, like anchorpointhomeloans.com, without "https://" or a page path.
Meta says "Wait for seven days of CRM events".
This is normal for a new Conversion Leads setup. Meta needs about a week of real lead activity.
Move leads between at least two pipeline stages, and keep updating them every day.
Test leads from the Lead Ads Testing Tool don't count toward this.
LeadConnector doesn't show up when I search for my CRM.
Make sure you chose CRM (not Web) in Connect Data Sources.
Check that you are an admin of the business and ad account in Meta.
Try typing the full name, LeadConnector, with no spaces.
I don't see the Facebook Conversion API action.
Search the actions list for "Conversion" or "Meta".
If it still doesn't appear, email [email protected] to request access.
Frequently Asked Questions
Why do I see "LeadConnector" in Meta?
LeadConnector is the connection that links the Operating System to Meta. When Meta asks for your CRM partner, LeadConnector is the right choice.
Do I need both the pixel and the Conversions API?
Meta recommends both. The pixel catches browser activity, and the Conversions API fills in what the browser misses. Meta matches the two so leads aren't counted twice.
Can I use the same pixel for more than one funnel?
Yes. Add the same pixel code to each funnel and website, and use the same Pixel ID in your workflows.
Will this track leads from Facebook Lead Ads forms?
Lead Ads forms live on Facebook, so the pixel doesn't see them. Use Conversion Leads in Part 4 to send their progress to Meta.
Is my access token safe in a custom value?
Custom values are only visible to users in your account. Only give account access to people you trust. See Add Team Members & Set Permissions.
How long before Meta uses this data to improve my ads?
Tracking starts right away. Meta usually needs a steady flow of events, often a few weeks, before it fully optimizes your ads around them.