How to Connect Your Meta Pixel & Conversions API
Connect your Meta Pixel and Conversions API (CAPI) to PixelFlow in one of two ways: one-click connect through Facebook, or by providing two values from Meta Events Manager by hand, your Pixel ID and an access token. One-click connect is the easiest option, so start there unless you have a reason not to. Once connected, PixelFlow runs your browser Pixel and the server-side Conversions API together, with automatic deduplication to prevent double-counting.
You can also connect Meta with an AI agent over MCP: your chat runs the setup with you and hands over the steps for your platform. See MCP - Connect your AI Agent to PixelFlow.
Important: PixelFlow loads both your pixel & CAPI together for you - you need to remove the Meta pixel from your website to ensure you don't get duplicated events. See Remove Pixels From Your Site for step-by-step removal guides.
Connect with one click
The one-click option connects through Facebook itself, so you never copy a Pixel ID or generate a token. You need a Facebook Business Portfolio: that is where Facebook keeps your ad accounts and Pixels together, and the Conversions API connects through it. Create a Business Portfolio first if you don't have one.
In PixelFlow, choose Meta on the connect step and open the Once click connect tab.
Click Connect with Facebook. A Facebook login page opens where you sign in and approve PixelFlow.
Choose the Business Portfolio that holds the ad account and Pixel you want to track.
Back in PixelFlow, select your pixel.
If no Pixels appear, check that the Business Portfolio you chose has an ad account with Pixels assigned, or enter the pixel details manually instead. If Facebook cannot complete the connection, PixelFlow shows the error and offers manual entry.
Enter details manually
If you would rather not connect through Facebook, gather the two values from Meta Events Manager and enter them yourself.
Find Your Pixel ID
Go to the Meta Events Manager and click Data Sources.
Select the Pixel you want to connect with PixelFlow.
Click Settings in the left sidebar.
Copy your Dataset ID (this is your Pixel ID).
Generate your access token:
On the Settings page for your selected Pixel, scroll down to the Setup Direct Integration section.
Choose Set up with Dataset Quality API.
Click Generate Access Token.
Select your dataset from the dropdown menu.
Click Generate access token and copy the generated token.
Connect Meta in PixelFlow
You can add Meta during the initial setup wizard the first time you create your account or add a new website or via the Sites & Pixels page. On the Meta card, use the Once click connect tab for one-click connect, or the Enter details manually tab to paste in your Pixel ID and access token.