Question
What are the server event parameter requirements for Facebook Conversions API?
Product
Segment Twilio
Environment
Segment Console
Answer
Facebook requires the action_source server event parameter for all events sent to the Conversions API. This parameter is used to specify where the conversions occurred. If action_source is set to ‘website’ then the client_user_agent and the event_source_url parameters are also required.
Events sent to the Conversions API that do not meet the requirements may not be available for optimisation, targeting, or measurement.
| Server Event Parameter | Requirement | Implementation |
|---|---|---|
action_source |
Always required | It is set automatically but it can be set manually. |
client_user_agent |
Only required if action_source = “website” |
It must be set manually if using a server library. It is set automatically if using the Segment web library. |
event_source_url |
Only required if action_source = “website” |
It must be set manually if using a server library. It is set automatically if using the Segment web library. |
Additional Information
For more details, check out our resources here.