Segment on Android
Segment is a Customer Data Platform, and offers integrations with Google Analytics, Adobe Analytics, Youbora, and others.
Segment sets up "Connections" between "Sources" and "Destinations".
- Sources send messages into Segment (and other tools). They have JavaScript source, an Android source, and so on.
- Destinations (like Google Analytics, Adobe Analytics, Youbora) receive messages from Segment.
Segment can be implemented on top of THEOplayer as a custom analytics integration.
Refer to the article on building a custom analytics integration for more information on how to build an integration on top of THEOplayer.
Connecting Segment to THEOplayer
You'll (most likely) use the "Analytics for Android SDK" source to get access to the Segment API.
Then, for each of your destinations, you want to figure out whether you can use the "Video Spec", or whether you need to do something specific for some destinations (e.g. Youbora).
Segment describes a "Video Spec" at https://segment.com/docs/connections/spec/video/, but this article also mentions that "not all destinations support video tracking and you should always check with the individual destination documentation to confirm".
For other platforms, refer to the documentation at https://segment.com/docs/.