SUPPORT.TWILIO.COM END OF LIFE NOTICE: This site, support.twilio.com, is scheduled to go End of Life on February 27, 2024. All Twilio Support content has been migrated to help.twilio.com, where you can continue to find helpful Support articles, API docs, and Twilio blog content, and escalate your issues to our Support team. We encourage you to update your bookmarks and begin using the new site today for all your Twilio Support needs.

What are the server event parameter requirements for Facebook Conversions API?

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.

Have more questions? Submit a request
Powered by Zendesk