Segment acts as a central analytics hub for your app and Control Panel activity. Once connected, it collects events such as app opens, navigation, and feature interactions, then forwards that data to analytics destinations like Mixpanel. This setup lets you analyze user behavior beyond our built-in analytics and create more advanced reporting and funnels.
Requirement
A Segment account (free plan works to start)
Access to your app’s Control Panel
(Optional) A Mixpanel account if you want to send Segment data to Mixpanel
How to integrate Segment with your app
Create or log in to your Segment account
Create or select a workspace
Add a new Source
Search for and select Node.js Server
Create the source and copy the Write Key
Log in to your control panel
Navigate to Settings in the left navigation
Click the Integrations tab
Stay in the Certification tab, but scroll to Segment
Paste in the Segment Write Key
Click Save
To test it out
In the App Preview:
Start clicking around to generate events
Segment may take several minutes to begin showing data
In Segment, open the source Debugger to confirm events are being received
(Optional) Connect Mixpanel as a destination
In Segment, add a new Destination
Search for Mixpanel Actions and create the destination
In Mixpanel, copy your Project Token and API Secret
Paste these values into the Mixpanel destination settings in Segment
Enable the destination and save
After events begin flowing, review data in Mixpanel under Events and activity views
Pro tips
It can take 10–20 minutes for the first events to appear in Segment or Mixpanel
Navigating the app or clicking Publish helps trigger initial events
Segment works even without Mixpanel if you only need a centralized event stream
Use consistent app activity (real users or testing sessions) to validate data flow before relying on reports