What CAPI is
The Conversion API is a server-side tracking method that sends event data (purchases, form submissions, page views) directly from your backend to Meta’s servers. Unlike the Facebook Pixel (which runs in the browser), CAPI is not affected by ad blockers, cookie restrictions, or iOS ATT opt-outs.Why it matters
| Without CAPI | With CAPI |
|---|---|
| iOS ATT opt-outs block pixel tracking | Server-side events are not affected by ATT |
| Ad blockers prevent pixel from firing | Server-side events bypass ad blockers |
| Cookie restrictions reduce attribution window | Direct server communication maintains full attribution |
| Campaign optimization suffers from missing data | More complete data improves Meta’s optimization algorithms |
Setting up CAPI in HoopAI
Connect your Meta Business account
Ensure your Meta Business account is connected in Marketing > Ad Manager > Settings.
Navigate to CAPI settings
Go to Settings > Integrations > Facebook (or Meta CAPI) and click Configure.
Enter your access token
Generate a Conversion API access token in your Meta Events Manager and paste it into the platform.
Select your pixel
Choose the Facebook Pixel that will receive server-side events. The CAPI events are matched against your pixel events for deduplication.
Configure events
Select which events to send via CAPI:
- Lead — form submissions, contact creation
- Purchase — completed transactions
- PageView — page visits on your funnels/websites
- InitiateCheckout — checkout page visits
- CompleteRegistration — account or membership signups
Workflow action for CAPI events
You can fire CAPI events from workflow actions for maximum flexibility:- In the Workflow Builder, add a Send Conversion Event action
- Select the event type (Lead, Purchase, Custom)
- Map contact data fields to event parameters (email, phone, value)
- The event is sent to Meta when the workflow action fires
Event deduplication
When you use both the Facebook Pixel and CAPI, the same event may be reported twice. Meta handles deduplication automatically when:- Both the pixel event and CAPI event include the same
event_id - The events occur within a 48-hour window
Testing and troubleshooting
Events not appearing in Events Manager
Events not appearing in Events Manager
Check that your access token is valid and has the correct permissions. Verify the pixel ID is correct. Use Meta’s Test Events tool with a test event code to confirm the connection.
Duplicate events showing in reports
Duplicate events showing in reports
Ensure event deduplication is configured. Both pixel and CAPI events must use the same event_id parameter. Check that the platform’s automatic deduplication is enabled.
Match rate is low
Match rate is low
CAPI match rate depends on the quality of customer data sent (email, phone, name, location). Ensure contact records in your CRM have complete data — more parameters improve match rates.
Events are delayed
Events are delayed
CAPI events may take a few minutes to appear in Events Manager. This is normal. If delays exceed 1 hour, check your server connection and access token.