In the simplest form, the Segment libraries (“Sources”) generate messages about what’s happening in your site or app, and send them to the Segment servers. Segment then translates the content of those messages into different formats for use by other tools (which we call ‘Destinations’), and sends the translated messages to those tools. The Segment servers also archive a copy of the data, and can send data to your storage systems (such as databases, warehouses, or bulk-storage buckets).
For detailed instructions on how to install and initialize the Segment library please refer to the Segment developer documentation.
If you’re using one of Segment’s libraries, you can enable Mixpanel in your Segment integration automatically using our integration.
The next thing you need to do is identify your users, so that you can understand what your users are really doing. When you call
identify, Mixpanel will set the property as the Mixpanel
userId and set any traits you know about them.
Lastly, track your users' actions using the
track API call.
Open up Live View in Mixpanel to view incoming events.
Updated over 1 year ago