---
title: "Facebook Conversions API (CAPI)"
description: "Send a server-side conversion to Meta for every new lead, so your ads are measured even when the browser pixel is blocked."
url: https://help.leadform.io/en/articles/85-facebook-conversions-api-capi
collection: "Integrations"
updated: 2026-11-03
language: en
---

# Facebook Conversions API (CAPI)

Send a server-side conversion to Meta for every new lead, so your ads are measured even when the browser pixel is blocked.

## What it does

For every new lead, our server sends a conversion event to Meta. It does not rely on the visitor's browser, pixel or cookies, so it still counts when they are blocked. Use the same dataset as your Facebook Pixel so Meta can deduplicate the two.

## Set it up

1.  Open the form, click Connect, and click the Facebook CAPI card on the Integrations tab.
    
2.  Turn on Enable Facebook Conversions API.
    
3.  Dataset (Pixel) ID: in Meta Events Manager, open your dataset and copy its ID.
    
4.  Conversions API access token: generate it in Events Manager under Settings, Conversions API. It is stored encrypted.
    
5.  Conversion event: Lead, CompleteRegistration, Contact, Schedule or SubmitApplication.
    
6.  Map your form fields to Meta fields: click Add field, pick a Form field and its Meta field. Map at least an email, phone or name field, or Meta only receives technical signals (IP, browser) and match quality stays low.
    
7.  Click Save Integration.
    

## Testing

In Events Manager, open Test Events and copy the test event code. Paste it into Test event code (optional), save, and click Send test event: the event appears in Test Events. Clear the code again before live traffic.

## With or without the Pixel

If the form has no Facebook Pixel, only the conversion event is sent. Add your Pixel ID in Connect > Tracking to track page views too and improve lead matching.
