The Facebook Conversions API (CAPI) lets AFF1 send events to Meta from the server: when a lead is created, confirmed or cancelled. The pixel on the page only sees that the order form was submitted; the Conversions API also tells Meta which orders the call centre confirmed, so your campaigns can optimise for real sales.
How it works
- A visitor clicks your ad. Meta adds its click ID,
fbclid, to the link. - Your flow link also carries
fbpx— the ID of the pixel that should receive the event. - When the lead is created, confirmed or cancelled, AFF1 sends the event you chose to that pixel together with the click data, and Meta matches it to the ad click.
Without fbclid and fbpx in the link, Meta cannot match the event to your ad. The fbpx parameter must be added to the flow link manually.
Step 1. Get the pixel ID and an access token
- Open Meta Events Manager and select your dataset (pixel). Copy its ID.
- Open Settings, find the Conversions API section and click Generate access token. Copy the token.
Keep the token secret: anyone who has it can send events to your pixel. Generate a new one if it leaks.
Step 2. Prepare the flow link
Add the fbpx parameter with your pixel ID to the flow link you use in the ad:
http://your-domain.com/?flow_hash=AbCd1234&fbpx=123456789012345
Meta adds fbclid to the link by itself when someone clicks the ad. If your traffic goes through a tracker or another redirect, make sure that fbclid reaches the AFF1 link: pass it on in the tracker, and do not add a literal fbclid={fbclid} to the ad URL — Meta does not replace such macros, and a second fbclid breaks matching.
The hint in the English interface of the postback window says fbx; the parameter name is fbpx — the same name is used in the API and in landing archives.
Step 3. Create the postback
- Open Tools → Flows → your flow → Postback → Create postback.
- Type: Facebook Conversion API.
- Tick the lead events that should send this Meta event: Creating lead, Confirming lead and/or Cancelling lead.
- Enter Facebook Pixel id and Access Token. Click Add under the pair to add more pixels.
- Event — choose a standard Meta event from the list (Lead, Purchase, CompleteRegistration and others).
- For Purchase, fill in Custom data: Currency (ISO code, for example
USD) and Value — the amount Meta should see for one conversion. - Action Source — where the conversion happened. For site traffic choose website and enter Event Source Url — the address of the page where the action takes place, for example your landing domain.
- Click Add.

Each postback sends one Meta event. To send Lead for new orders and Purchase for confirmed ones, create two postbacks:
| Postback | Lead event in AFF1 | Meta event |
|---|---|---|
| 1 | Creating lead | Lead |
| 2 | Confirming lead | Purchase (with Currency and Value) |
More options in the window:
- Warm-up mode — when it is on, events go to all the pixels added in this postback, not only to the pixel from
fbpx; - Use proxy — sends the events through a proxy server. Leave it off unless your manager recommends it.
Meta accepts server events up to 7 days after they happen. Leads confirmed later than that will not be counted by Meta.
Step 4. Test the postback
- In Meta Events Manager, open your dataset → Test events and copy the test event code (it looks like
TEST12345). - In AFF1, in the flow’s postback list, click the gear icon next to the Facebook postback → Testing.
- Paste the code into Event testing and click Check.
- The test event should appear in the Test events tab within a few minutes. If you see an error, check the pixel ID and the token.


Check real events
In Events Manager, open the dataset Overview: it shows the events received from the server and their match quality.
Common problems
- Events are sent but not matched to ads — the link had no
fbclid(the visitor did not come from an ad, or a redirect dropped it) orfbpxpointed to another pixel. - The test fails with a token error — the token was revoked or belongs to another dataset. Generate a new one in Settings → Conversions API.
- Purchase without revenue — Currency and Value are empty or wrong.
- Every confirmed lead is counted twice — the same order is sent as Purchase both by the pixel on the order page and by the postback. Keep Purchase in one place.