Skip to content

Integrations / Analytics

Avo and Mixpanel

Put your event descriptions in Mixpanel Lexicon, send type-safe events to Mixpanel from code generated from your plan, and check what your app sends with Inspector.

AvoYour tracking plan
  • From Avo to Mixpanel: Tracking plan
  • From Avo to Mixpanel: Generated tracking code
  • From Mixpanel to Avo: Event shapes
  • Between Avo and Mixpanel: Your agent, through both MCPs
MixpanelAnalytics

World's leading teams trust Avo

Four ways to connect

What Avo does with Mixpanel

Publishing

Publish your plan to Mixpanel Lexicon

Avo publishes your events, with their descriptions, properties and tags, and your user properties to Mixpanel Lexicon when a branch is merged, or with a button.

Changes made in Lexicon to an event Avo publishes are overwritten on the next publish. Events only defined in Lexicon are left alone. Mixpanel has no categories, so Avo can publish them as tags.

Docs: Publishing to Mixpanel Lexicon

Set it up

  1. In Avo, add a Mixpanel Lexicon integration under Publishing.
  2. Enter your Mixpanel project ID and a service account’s username and secret, and turn on EU data residency if the project stores data in Europe.
  3. Publish with the button, or turn on auto-publishing to publish on every branch merge.

Codegen

Send events to Mixpanel with Codegen

Avo generates a type-safe function for each event in your plan. You connect Mixpanel through the destination interface: callbacks you fill in to pass each event to the Mixpanel SDK.

The destination interface works with any event-based destination, so Mixpanel can sit next to your other tools.

Docs: Destinations in Avo Codegen

Set it up

  1. In Avo, create a destination and set its mode to Destination Interface in your source’s Codegen setup.
  2. Pull the generated code with the Avo CLI.
  3. Initialize Avo with your destination and fill in the callbacks that send to Mixpanel.

Inspector

Check your Mixpanel events with the Inspector SDK

The Inspector SDK sends Avo each event’s name and its property names and types, never the values. Avo compares them with your plan.

A one-time setup that takes 10 to 30 minutes and ships with your next app release.

Docs: Inspector SDK overview

Set it up

  1. In Avo, copy the Inspector API key from your source’s Inspector setup tab.
  2. Install the Inspector SDK for your platform and initialize it with the key.
  3. Call Inspector where you track events, so it sees each event’s name and shape.

Avo MCP

Analyze your Mixpanel data with your agent

Pair the Avo MCP with Mixpanel’s own MCP. Avo gives your agent what each event means and which events make up each metric, so it builds the right query in Mixpanel instead of guessing.

Your agent can also compare what Mixpanel returns with your plan to find tracking gaps.

Docs: Avo MCP

Set it up

  1. Connect your agent to the Avo MCP.
  2. Connect it to your Mixpanel data through Mixpanel’s own MCP.
  3. Ask your question. Your agent looks up the events and metric definitions in Avo before it queries Mixpanel.
At a glance

Mixpanel and Avo, in short

Kind of tool
Analytics
Avo sends to Mixpanel
Your tracking plan, into Lexicon
Avo reads from Mixpanel
Nothing directly. You can import a Lexicon export to start your plan
Code change needed
None for Publishing. Codegen and Inspector go in your app
With your agent
Avo MCP for meaning and metrics, Mixpanel’s MCP for the data
When the plan is published
On every branch merge, or with a button
Keep going

Where to go next

Your stack

Every integration

The other tools Avo works with, and what it does with each.

All integrations
The product

How Avo works

Plan, build and monitor your event data from one tracking plan.

See how it works
Avo MCP

Let your agent do it

Connect your agent to your tracking plan, to design and review tracking with you.

Avo MCP

Your campaigns, dashboards and agents are only as good as your data.

One plan, checked at every step, for every person and agent in your stack.