Who can use this feature?
- Global admins or users with advanced permissions
- Available on all plans
A Mixpanel integration allows you to leverage activity/module usage within Totango. Over time, Totango aggregates the data to give you trends of usage, such as:
- Show me all accounts (customers) who have or have not used this functionality in the past X(7/30/90/etc) days.
- Show me all users (people) who have or have not used this functionality in the past X(7/30/90/etc) days.
1. Create a Mixpanel connection with Totango
Before you create an integration job, you must establish a connection. A connection is an authentication mechanism which allows Totango to integrate to another system. Each connector has different requirements for connection. You can reuse connections to support multiple integration jobs.
- In Totango, click Settings from the left nav.
- Expand Data Management > Customer Data Hub.
- From the list of active connectors (left), choose Product Analytics.
- From the list of available connectors, hover over MIxpanel, and click Connect.
- Add a name, description, Project ID, username, and API key from Mixpanel.
For the username, enter your Mixpanel service account username. If you do not have a Mixpanel service account, please see this article.
- Click Add Connection.
You can now set up a scheduled integration usage job.
2. Create a Mixpanel integration job in Totango
Each integration job requires you to specify the Mixpanel events and object fields that you want to use. Once the job is active, Totango fetches the Mixpanel events (from the day before) and tracks them as Activity/Module usage data.
- From within Totango, locate the established Mixpanel connection.
- Click +Create Integration.
- Click Usage.
A new integration page appears.
- Choose from the available Mixpanel Events that you want to use.
- From the Object Fields drop-down, add your User ID and Account ID fields from Mixpanel.
- Click Load Preview.
- In the Map and Format Data Fields area, Totango attempts to map the columns in the data source (Mixpanel) with attributes in Totango (Account ID and User ID). Ensure that the source field (left) maps to the desired Totango attribute (right).
Totango also adds a Constant ("Mixpanel") that maps to Totango's module placeholder (e.g., every action in Totango will be mapped to the Mixpanel module.)
If you've defined custom modules in Mixpanel, you can remove the constant and add your own mapping.
- When Account ID and User Id are mapped, click Validate Mapping. The validation must be successful in order to proceed.
- The first 10 records that have usage will values appear. Preview the data in the file to ensure it looks correct.
- From the Settings area, set the following:
- Name: Add a name to help you identify the job later.
- Description: Add a description for the job.
- Allow new accounts/objects creation: Allow new records to be created during the integration. If disabled, only records that already exist in Totango will be affected by the job (default).
- From the Schedule area, set the following:
Run: Choose the recurring schedule you want this job to run. The default is 11p.m. your instance timezone. The reason for this, is so that the data is always delivered right before your daily is processed. It is highly recommended not to change this.
A Mixpanel usage integration looks at yesterday's data; therefore, the job frequency can run daily (at most).
- Sync immediately after saving: Run the job now and then run according to the schedule thereafter, or run it according to the next schedule only.
- Enable integration scheduling: Allow the scheduling job. If unchecked, the job will be saved in a disabled state.
- Run: Choose the recurring schedule you want this job to run. The default is 11p.m. your instance timezone. The reason for this, is so that the data is always delivered right before your daily is processed. It is highly recommended not to change this.
- Click Save and Sync.
- The job is saved, and you can monitor upload progress in real time. The sync status changes automatically as the job completes.
- Click inside a job to view more details.
Data will be immediately reflected in the UI once the processing is done for the selected job. Learn more about analyzing user-level usage data in Totango.