Mixpanel

Mixpanel is an advanced analytics platform that enables web and mobile applications to measure any action, connect each action to a real person and leverage the data to provide customers with a better experience. If you have a question about your users, Mixpanel can give you an answer.    

Help Scout's Mixpanel App brings your People data into the customer sidebar. When a customer sends you an email, this app will pull in their Mixpanel profile, add a link to view that profile in full and also display up to 10 recent actions they took on your website or in your app. This information instantly makes your support team more efficient and able to provide outstanding service. Here's a snapshot of what it will look like in Help Scout:

Activation instructions 

1
Log in to your Mixpanel account and click on the Account link seen in the top menu bar.
2

Select the Projects tab from the modal that pops-up. Decide which project you want to track in Help Scout, then copy the Token, API Key and API Secret to a text document. 

3

Take note of the URL seen in your address bar. You'll need to either copy the full URL, or remember the numbers seen after /report. In the example below, we'll want to remember 417835.

4

Hop over to Help Scout and install the Mixpanel app. Paste in your API Key, API Secret and Token, followed by your Project ID, which is the number referenced in the previous step. Select which customer events you'd like the app to track, and the mailboxes you'd like to connect. Don't forget to hit Save

Managing customer creation

Help Scout's Mixpanel integration uses the customer's email address as the distinct_id when sending events.

  • If you are creating your own users in Mixpanel via some other process:
    You should use the customer's email address as the distinct_id. This approach will ensure that both your own process and the Mixpanel integration will be using the same value for the distinct_id and that no duplicates will be created.
  • If you are recording events before you have access to a customer's email address:
    You can initially use the random distinct_id supplied by the Mixpanel client. Once the email address is available to you, you can issue an alias command from within your own process to link the random distinct_id to the email address. Your process may then begin using the email address as the distinct_id. This will preserve the customer's history while continuing to keep both processes in sync.

Still stuck? How can we help? How can we help?