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.

Can I use Insert Functions with Device Mode Destinations?

Question

Can I use insert functions with device mode destinations in Segment? I want to modify or drop events before sending them to a device mode destination.

 

Product

Twilio Segment

 

Environment

Segment Console

 

Answer

No, insert functions are only supported for cloud-mode (server-side) destinations in Segment. Device mode destinations, where events are sent directly from the client to the destination, do not support insert functions. If you need to modify or filter events for device mode destinations, consider using destination middlewares, which allow you to intercept and change events in the browser before they are sent.

 

Additional Information 


For more details on destination middlewares and supported use cases, refer to the Segment documentation on Destination Middlewares.
 

 

 

Have more questions? Submit a request
Powered by Zendesk