Integrate Webflow Optimize with Mixpanel

Updated

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.

Before you get started

Make sure you've created a project in Mixpanel and installed the Mixpanel snippet on your site.

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:

  1. Go to the Insights tab
  2. Click Integrations
  3. Click Set up under Mixpanel
  4. Leave the Event Name as “Optimization Viewed” or enter a custom value
  5. 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