Mixpanel Web Destination
Destination Info
- Accepts Page, Alias, Group, Identify and Track calls.
- Refer to it as Mixpanel Web (actions) in the Integrations object
- This destination is not compatible with Destination Insert Functions.
- This integration is partner owned. Please reach out to the partner's support for any issues.
- This destination is in Beta
Mixpanel is an event analytics platform that lets product teams understand user behavior, measure engagement, and drive retention through data-driven insights.
This destination is maintained by Mixpanel. For any issues with the destination, contact the Mixpanel Support team.
- From your workspace's Destination catalog page, search for "Mixpanel Web".
- Select Mixpanel Web (Actions) and click Add Destination.
- Select an existing JavaScript source to connect to Mixpanel Web (Actions).
- Go to your Mixpanel project settings, find and copy the Project Token.
- Enter the Project Token in the Mixpanel Web destination settings in Segment.
The Mixpanel API host to send data to.
Optional
Enable or disable Mixpanel autocapture functionality. Select "Custom" to specify fine grained control over which events are autocaptured.
Capture text content of elements in autocaptured events
Capture click events automatically
Optional
Set the cookie expiration time in days for Mixpanel cookies.
Optional
Enable or disable cross subdomain cookies for Mixpanel.
Capture dead click events automatically
Optional
Disable all persistence mechanisms for Mixpanel.
Capture input events automatically
Optional
Enable or disable sending IP address information to Mixpanel.
Optional
The name for the new mixpanel instance that you want created.
Capture pageview events automatically
Optional
Set the persistence method for Mixpanel (cookie or localStorage).
Your Mixpanel project token.
Capture rage click events automatically
Optional
CSS class to block elements from being recorded in session recordings.
Optional
CSS selector to block elements from being recorded in session recordings.
Optional
Enable or disable recording of canvas elements in session recordings.
Optional
Enable or disable tracking of heatmap events in session recordings.
Optional
Idle timeout in milliseconds for session recordings.
Optional
CSS class to mask text elements in session recordings.
Optional
CSS selector to mask text elements in session recordings.
Optional
Maximum recording time in milliseconds for session recordings.
Optional
Minimum recording time in milliseconds for session recordings.
Optional
Percentage of sessions to record for session recordings.
Capture scroll events automatically
Optional
Capture form submit events automatically
Optional
Enable or disable tracking of marketing campaigns in Mixpanel. Includes UTM parameters and click identifiers for various ad platforms.
Mixpanel Web (actions) has the following presets
| Preset Name | Trigger | Default Action |
|---|---|---|
| Identify | Event type = "identify" | Identify |
| Track | Event type = "track" | Track |
Build your own Mappings. Combine supported triggers with the following Mixpanel Web (actions)-supported actions:
Mapping limits per destination
Individual destination instances have support a maximum of 50 mappings.
Sync user profile data to Mixpanel.
Identify is a Web action. The default Trigger is type = "identify"
The unique ID to associate with the user.
Optional
User Profile Properties to set on the user profile in Mixpanel.
Optional
User Profile Properties to set once on the user profile in Mixpanel. Values which get set once cannot be overwritten later.
Optional
User Profile Properties to increment on the user profile in Mixpanel. Values must be numeric.
Sync alias data to Mixpanel. Use this to replace a Unique ID with a new one.
Alias is a Web action. The default Trigger is type = "alias"
The new ID to associate with the user.
The original ID to associate with the user.
Sync Segment page events to Mixpanel.
Track Page View is a Web action. The default Trigger is type = "page"
Optional
The name of the event to track in Mixpanel.
Optional
Properties to associate with the event.
Optional
The unique ID to associate with the user. Settings this value will trigger a Mixpanel identify call before immediately the page event is sent.
Optional
User Profile Properties to set on the user profile in Mixpanel.
Optional
User Profile Properties to set once on the user profile in Mixpanel. Values which get set once cannot be overwritten later.
Optional
User Profile Properties to increment on the user profile in Mixpanel. Values must be numeric.
Optional
Details for the group to be created or updated in Mixpanel. Setting this value will trigger a Mixpanel set_group call before the page event is sent.
Optional
Group Profile Properties to set on the group in Mixpanel.
Optional
Group Profile Properties to set once on the group profile in Mixpanel. Values which get set once cannot be overwritten later.
Optional
Merge a list into a list group property. Duplicates will be removed.
Sync Segment track events to Mixpanel.
Track is a Web action. The default Trigger is type = "track"
The name of the event to track in Mixpanel.
Optional
Properties to associate with the event.
Optional
The unique ID to associate with the user. Settings this value will trigger a Mixpanel identify call before immediately the track event is sent.
Optional
User Profile Properties to set on the user profile in Mixpanel.
Optional
User Profile Properties to set once on the user profile in Mixpanel. Values which get set once cannot be overwritten later.
Optional
User Profile Properties to increment on the user profile in Mixpanel. Values must be numeric.
Optional
Details for the group to be created or updated in Mixpanel. Setting this value will trigger a Mixpanel set_group call before the track event is sent.
Optional
Group Profile Properties to set on the group in Mixpanel.
Optional
Group Profile Properties to set once on the group profile in Mixpanel. Values which get set once cannot be overwritten later.
Optional
Merge a list into a list group property. Duplicates will be removed.
Sync Group data to Mixpanel.
Group is a Web action. The default Trigger is type = "group"
Details for the group to be created or updated in Mixpanel.
Optional
Group Profile Properties to set on the group in Mixpanel.
Optional
Group Profile Properties to set once on the group profile in Mixpanel. Values which get set once cannot be overwritten later.
Optional
Merge a list into a list group property. Duplicates will be removed.
Mixpanel's Autocapture feature automatically tracks user interactions without requiring manual instrumentation. You can configure autocapture in three modes:
- Enabled: Automatically captures all supported events including page views, clicks, scrolls, form submissions, and input changes.
- Disabled: No automatic event capture. Only explicitly tracked events are sent.
- Custom: Fine-grained control over which event types to capture (clicks, rage clicks, dead clicks, scrolls, form submissions, input changes) and how page views are tracked.
The Track, Track Page View, and Identify actions support three methods for updating user profile properties:
- Set: Overwrites the property value.
- Set Once: Sets the property only if it doesn't already exist. Useful for immutable properties like signup date.
- Increment: Adds a numeric value to an existing property. Useful for counters like login count or purchase count.
Mixpanel supports Group Analytics for company or organization-level analysis. To use groups:
- Define group keys in your Mixpanel project settings before sending group data.
- Use the Group action or include group details in Track events to associate users with groups.
- Set group profile properties using the same set, set once, and union operations available for user profiles.
Mixpanel Web supports session recording through Mixpanel's Replay feature. Configure recording settings including:
- Sampling rate: Control what percentage of sessions are recorded.
- Block and mask selectors: Define CSS selectors to block or mask sensitive content.
- Recording duration: Set minimum and maximum recording times.
- Canvas recording: Enable to capture canvas element content.
Use Alias events to merge user identities when a user's identifier changes, such as when an anonymous user signs up and receives a new user ID. This creates a link between the original ID and the new alias in Mixpanel.