Skip to main content

Mixpanel integration

How to send survey responses as user events to Mixpanel

Agnieszka avatar
Written by Agnieszka
Updated over 2 weeks ago

With Mixpanel integration, you can create a report allowing you to monitor results from active surveys in your favorite analytics tool. You'll see survey responses appearing in Mixpanel as events triggered by your users.

  • survey responses are sent to Mixpanel as events in real time;

  • works with all survey types run by Survicate;

  • handy for people who use Mixpanel for collecting and analyzing data.

📌 Please note if you want to enable the integration on website surveys, you need to have Mixpanel API installed on your website before setting up the integration.

How to enable integration with Mixpanel

Navigate to Integrations, search for Mixpanel, and click on it to move on to the setup:

On the next page, click Connect:

You'll be taken to the Settings tab to provide the Project token from your Mixpanel account. You can find it in Mixpanel in Project settings ➡️  Overview ➡️  Access keys.

Add your token and click Connect. Now, the integration is connected for all surveys in this Survicate workspace 🚀

❗ For Survicate to match the response with Mixpanel users, collect the distinct_id as the user_id attribute along with the responses.

  • For Email/Shareable link surveys, it will require adding a user_id merge tag to the survey link or code.

  • For Website or in-product surveys, please pass the user_id as a user trait with JavaScript.

  • For Mobile app surveys, pass the user_id via the Mobile SDK.

See events in Mixpanel

After you collect new responses, you will see survicate_survey_answered event in Mixpanel:

It has the following event properties that you can use to filter your data:

  • type: Question type

  • survey_name: Name of the survey

  • question_name: Name of the question

  • question_introduction: Introduction message in the question

  • question_id: Unique ID of the survey's question

  • integrationID: Value is always "survicate"

  • answer: Answer given

See events in users' profiles

For Survicate to match the response with Mixpanel users, pass the distinct_id as the user_id attribute along with someone's response to Mixpanel.

  • For Email/Shareable link surveys, it will require adding a user_id merge tag to the survey link or code.

  • For Website or in-product surveys, please pass the user_id as a user trait with JavaScript.

  • For Mobile app surveys, pass the user_id via the Mobile SDK.


If this is done, you'll be able to see the events in the specific users' profiles:

Best practices

Create cohorts based on user satisfaction

Send CSAT or NPS® responses to Mixpanel to create cohorts of either dissatisfied or satisfied users.

When done, you can track down the user activation or user behavior among these groups to understand what made them answer that way.

Get a detailed view behind qualitative feedback

Ask users for product or feature ideas. Or simply allow them to pick one feature that should be built next.

Analyze results both in Survicate and Mixpanel to have a better understanding of the background behind feature requests.

Measure release performance

Ask users about their satisfaction with the release. Combine answers with the release, or application versions users use to better understand how each version of the application performs.

📞 If you have any questions about setting up the Mixpanel integration - feel free to reach out to our team via chat or email: support@survicate.com.

Net Promoter, NPS, and the NPS - related emoticons are registered U.S. trademarks, and Net Promoter Score and Net Promoter System are service marks, of Bain & Company, Inc., Satmetrix Systems, Inc. and Fred Reichheld.

Did this answer your question?