Overview

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.

1. Integrate with Segment

If you’re using one of Segment’s libraries, you can enable Mixpanel in your Segment integration automatically using our integration.

2. Identify Users

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.

3. Track User Actions

Lastly, track your users' actions using the track API call.

4. Check for Success

Open up Live View in Mixpanel to view incoming events.


Did this page help you?