Skip to main content

Integrations: Connect Your Data Sources

These integrations allow you to send your tracking data to Mixpanel from third-party tools. You may review our complete integrations directory at mixpanel.com/partners/integrations. If you don’t see what you’re looking for, reach out to us.

Segment

Route data from the leading Customer Data Platform to Mixpanel

Google Tag Manager

Deploy Mixpanel tracking through GTM without code changes

Customer Data Platforms (CDPs)

CDPs collect data from multiple sources and route it to various destinations. Connect your CDP to Mixpanel to centralize your data pipeline.

Segment

Industry-leading CDP with native Mixpanel Actions destination

mParticle

Customer data platform for multi-channel marketing

Rudderstack

Open-source customer data platform

Freshpaint

Healthcare-compliant customer data platform

Tealium

Enterprise tag management and customer data platform

Segment Integration Details

Segment is one of the most popular ways to integrate Mixpanel. Here’s how it works: 1. Set Up Segment Source Install the Segment library in your application to start collecting data:
// Web - Install Segment
analytics.load("YOUR_WRITE_KEY");

// Identify users
analytics.identify('user_123', {
  name: 'Jane Doe',
  email: '[email protected]'
});

// Track events
analytics.track('Button Clicked', {
  button_name: 'Sign Up',
  location: 'Homepage'
});
2. Configure Mixpanel as Destination In your Segment dashboard:
  1. Navigate to Catalog > Destinations
  2. Select Mixpanel (Actions)
  3. Connect your Segment source
  4. Add your Mixpanel project token
  5. Enable the destination
3. Data Mapping Segment automatically maps data to Mixpanel:
Segment MethodMixpanel Action
track()Import Event
identify()Identify User + Set Profile Properties
page()Import “Viewed [name]” Event
screen()Import “Viewed [name]” Event
group()Identify Group
The Segment id property is reserved and maps to distinct_id in Mixpanel. Avoid sending events with an id event property from Segment.

Tag Management

Deploy and manage Mixpanel tracking through tag management systems.

Google Tag Manager

Deploy Mixpanel via GTM with our official template

E-Commerce & Payments

Track purchases, subscriptions, and payment events automatically.

Shopify

Track e-commerce events from your Shopify store

Stripe

Automatically track payment and subscription events

Vendo

Multi-vendor marketplace analytics

CMS & E-Commerce

Integrations with WordPress, WooCommerce, and more

Cloud Storage & Data Warehouses

Import historical data or set up continuous sync from your data infrastructure.

Amazon S3

Import events from S3 buckets

Google Cloud Storage

Import events from GCS buckets

AWS Kafka

Stream real-time events from Kafka

Google Pub/Sub

Real-time event streaming from Pub/Sub

Development Frameworks

Native integrations for popular development frameworks.

Next.js

Server-side and client-side tracking for Next.js apps

AI & LLM Observability

Track AI model usage, performance, and user interactions.

Langfuse

LLM observability and analytics platform integration

Marketing & Attribution

Ad Spend

Import ad spend data from Facebook, Google, and more

Mobile Attribution

Track mobile app install attribution

Product & Feature Management

LaunchDarkly

Connect feature flags with product analytics

Data Collection Platforms

Snowplow

Route Snowplow events to Mixpanel

Google Sheets

Export Mixpanel data to Google Sheets for reporting

Integration Setup Guide

Mixpanel integrations work in one of three ways:
  1. Server-to-Server: Data is sent from the third-party service directly to Mixpanel’s servers (most reliable)
  2. Client-Side: The integration runs in the user’s browser or mobile app
  3. Import: Historical data is imported in bulk from cloud storage or data warehouses
Most integrations use Mixpanel’s Import API to send data.
Most integrations are no-code or low-code:
  • CDPs (Segment, mParticle): No code required - configure in the UI
  • Tag Managers (GTM): Minimal configuration in the UI
  • E-commerce (Shopify, Stripe): Simple app installation
  • Cloud Storage: Configuration via Mixpanel UI
Some integrations may require light code changes to map custom events or properties.
Yes! Most integrations allow you to:
  • Filter events: Choose which events to send to Mixpanel
  • Map properties: Customize how properties are named
  • Transform data: Apply transformations before data reaches Mixpanel
  • Set conditions: Use rules to control when data is sent
Configuration options vary by integration - check the specific integration docs.
To troubleshoot integration issues:
  1. Check Events View: Open Events in Mixpanel to see if data is arriving
  2. Verify Credentials: Ensure your project token is correct
  3. Check Integration Logs: Most platforms provide logs showing what was sent
  4. Review Mappings: Verify event and property mappings are configured correctly
  5. Test with Sample Event: Send a test event to verify the connection
See our debugging guide for more details.
Many integrations support importing historical data:
  • CDPs: Can replay historical events through the integration
  • Cloud Storage: Import CSV or JSON files with historical events
  • Warehouse Connectors: Query and import historical data from warehouses
Events sent to the /track endpoint must be within the last 5 days. For older events, use the /import endpoint or a warehouse connector.

Choosing the Right Integration

1

Assess Your Current Stack

Identify where your data currently lives:
  • Already using a CDP? Start there
  • Using Google Tag Manager? Use our GTM template
  • Have a data warehouse? Use warehouse connectors
2

Consider Reliability

Server-side integrations (CDPs, warehouse connectors) are more reliable than client-side integrations and won’t be affected by ad-blockers.
3

Evaluate Maintenance

CDPs and tag managers make it easier to update tracking without code deployments.
4

Check Feature Support

Some integrations may not support all Mixpanel features like Group Analytics or identity merge. Check the integration docs for details.

Need Help?

Can’t find the integration you’re looking for? We’re constantly adding new integrations and may be able to help:

Next Steps

HTTP API

Build custom integrations with our API

Best Practices

Learn how to implement tracking correctly

Build docs developers (and LLMs) love