Learn how to integrate Webflow Optimize with Mixpanel to send view events to Mixpanel.
You can integrate with Mixpanel to send view event info from Webflow Optimize to Mixpanel for your reports. An event will be sent to Mixpanel each time a variation is applied to a web page for a visitor.
Set up the Mixpanel integration
Webflow Optimize can detect the Mixpanel snippet installed on your web pages and leverages that info to send view events back to Mixpanel.
Go to your Webflow site, then:
- Go to the Insights tab
- Click Integrations
- Click Set up under Mixpanel
- Leave the Event Name as “Optimization Viewed” or enter a custom value
- Click Save
About the data sent to Mixpanel
Note
Conversion events are not sent to Mixpanel.
Webflow Optimize sends an event to Mixpanel using the track() API. One view event will be sent to Mixpanel for each variation viewed. For example, three Mixpanel events are sent for a single page view that had three variations shown.
Example of the data sent:
mixpanel.track('Optimization Viewed', {
'Headline (5656)': 'Get Started In Minutes (7878)'
});
Additional info about the data:
- The first value — Headline — is the optimization name
- The second value — Get Started In Minutes — is the variation name
- The numbers — (5656) and (7878) — are internal identifiers for Webflow Optimize