Feature Availability: This feature is available for Wingify Web Experimentation, Personalize, and Web Rollouts with the Starter, Growth, Pro, and Enterprise plans.
This article covers the following:
- Overview
- Send Campaign Data to Mixpanel
- Send Insights - Mobile App Data to Mixpanel
- Send Survey Data to Mixpanel
- View Reports in Mixpanel with Wingify Campaign Data
- Access Wingify Survey Data in Mixpanel
Overview
This article explains how to export Wingify campaign, survey, and mobile app session data to Mixpanel for reporting and analysis. It also explains how to verify the integration and use the exported data to build reports in Mixpanel.
Send Campaign Data to Mixpanel
To export your Wingify campaign data to Mixpanel, create a Send campaign data to Mixpanel connection. Refer to Integrate Wingify with Mixpanel to set up the connection.
With this connection active, Wingify sends campaign participation data to Mixpanel as events, including campaign and variation details for visitors who join a campaign.
Wingify uses the Mixpanel track event to send Wingify campaign data to Mixpanel with the following specifics:
Wingify sends the following events to Mixpanel when a visitor becomes part of a campaign:
Event Name: wingify
Properties:
- campaign_id: The unique ID of the Wingify campaign.
- variation_id: The unique ID of the assigned variation.
- campaign_name: The name of the Wingify campaign.
- variation_name: The name of the assigned variation.
- user_id: The unique identifier of the visitor.
- target_id: The ID of the associated trigger.
- target_name: The name of the associated trigger.
Note: The target_id and target_name properties are optional. These values are available only when using the Personalize Holdback feature and may not be present for all campaigns.
Wingify also sends the following Mixpanel experiment event:
Event Name: $experiment_started
Properties:
- Experiment name: {CAMPAIGN_NAME}
- Variant name: {VARIATION_NAME}
You can locate your campaign ID by opening the campaign and selecting Review > Configuration summary > Other Information > Campaign ID.
Once this data is in Mixpanel, you can leverage it to create detailed reports and perform in-depth analysis, giving you a clear understanding of how your campaigns are performing and providing actionable insights for optimization.
Send Insights - Mobile App Data to Mixpanel
To push Wingify mobile app session recording URLs to Mixpanel, create a Send Insights - Mobile App data to Mixpanel connection. Refer to Integrate Wingify with Mixpanel to set up the connection.
Once this connection is active, Wingify automatically pushes mobile app session recording URLs to Mixpanel, allowing you to access and analyze session recordings directly within your Mixpanel reports.
Send Survey Data to Mixpanel
To export your Wingify survey data to Mixpanel, create a "Send survey data to Mixpanel" connection. Refer to Integrate Wingify with Mixpanel to set up the connection.
- Once the connection is created, click Edit on the active connection to configure the following required fields:
- Webhook Secret: Enter your webhook secret key.
- Webhook URL: Enter the URL of your webhook endpoint (e.g. https://yourserver.com/webhook).
- Click Update Connection to save.
The survey data is exported to Mixpanel as events, which you can use to analyze from various angles. For example, if you're running a customer satisfaction survey on your website, you can analyze the survey responses in Mixpanel to identify trends. This allows you to explore insights such as how satisfied visitors are after interacting with specific features or pages. You could then segment the data to determine if satisfaction levels vary based on factors like device type, geographic location, or returning vs. new visitors, offering valuable insights to enhance the visitor experience.
Once this connection is configured, you can choose to send Wingify survey data to Mixpanel at the campaign level. By default, the Mixpanel integration is enabled for new Wingify Surveys campaigns.
To enable the Mixpanel integration for existing campaigns:
- Go to Insights > Surveys.
- Select the Surveys campaign, go to Settings > Others, and select Mixpanel under Integrate with third-party products.
View Reports in Mixpanel with Wingify Campaign Data
Once Wingify starts sending campaign data to Mixpanel, you can filter the reports generated in Mixpanel as follows:
For Insights:
- Log in to your Mixpanel account.
- From the Mixpanel dashboard, click Create New > Insights.
- Apply the date range selection to filter the Wingify data.
- In the Metrics section, click Select Metric and select the wingify event or the $experiment_started event. To analyze campaign participation, use the following event properties as filters or breakdowns:
- campaign_id
- campaign_name
- variation_id
- variation_name
- user_id
You can also use the $experiment_started event and its properties:
- Experiment name
- Variant name
For more information, see Mixpanel Documentation for Insights.
For Funnels:
- Log in to your Mixpanel account.
- From the Mixpanel dashboard, click Create New > Funnels.
- Apply the date range selection to filter the Wingify data.
- In the Metrics section, add the funnel steps. For example, if you want to track the steps users take to complete a purchase, you would select the following events:
- Wingify: This is the first step in the funnel.
- Add to Cart: This is the second step in the funnel.
- Purchase: This is the third step in the funnel.
- Click Select Step to add the first 2 steps. To add more steps, click Add Step. The dashboard displays a graphical representation of each step of the funnel. Funnel reports provide a visual representation of how users progress through a series of steps. This information can be used to identify areas where users are dropping off and to optimize the user experience. For more information, see Mixpanel Documentation for Funnels.
Verify Integration Setup
You can check if the integration setup is complete or troubleshoot the setup by verifying the network calls to identify the data pushed from Wingify to Mixpanel Analytics by performing the following steps in your browser:
- Right-click on the page where your test campaign is running and select Inspect Element.
- Under the Network tab, search for “track/?verbose” to filter the network calls for Mixpanel Analytics.
- The network calls get populated as the page loads. You may reload the page to view the network calls.
- Select the network call and go to the Payload tab, where you can find the data being pushed under the Request Payload section.
Note: Sometimes, mixpanel.js or Mixpanel conversion events are triggered only after the user accepts cookies and refreshes the page. However, Wingify does not wait for cookie consent before firing, so it may capture data before Mixpanel is initialized, potentially leading to discrepancies between the data reported by Mixpanel and Wingify.
Access Wingify Survey Data in Mixpanel
Wingify starts sending your Wingify survey data to Mixpanel as soon as a visitor attends your survey. This data is received in Mixpanel as events. You can use these events as filters and create several reports in Mixpanel. For example, you can use the Wingify-survey-answer-submitted event to create a report as follows:
- Log in to your Mixpanel dashboard.
- Go to Reports > Insights.
- On the left panel, select the Wingify-survey-answer-submitted event under the Metrics section.
- Under Filter, select the SurveyId option and enter the survey campaign’s ID as the value.
- Under the Breakdown section, select QuestionText and answer as properties.
This generates the reports with graphs revealing the percentage of visitors who selected each answer for the respective questions.
You can also view this data in a table format with the number of visitors who answered each question. For deeper insights, you can add Region as a property under the Breakdown section to view the visitors by location.
Additionally, you can add survey activities such as survey shown, survey answer submitted and survey completed to build funnels based on these events to enhance visitor engagement further.
For more information on how you can target specific groups of visitors from Mixpanel in your Wingify campaigns, see Import Mixpanel Cohorts into Wingify for Campaign Targeting.
Need more help?
For further assistance or more information, contact Wingify Support.