Skip to content

Integrations / Analytics

Avo and Heap

Send type-safe custom events to the Heap SDK from code generated from your plan, and check what your app sends with Inspector.

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

World's leading teams trust Avo

Three ways to connect

What Avo does with Heap

Codegen

Send custom events to Heap with Codegen

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

The destination interface works with any event-based destination, so Heap 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 Heap.

Inspector

Check your Heap 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 Heap data with your agent

Pair the Avo MCP with Heap’s own MCP. Avo gives your agent what each event means, how good its data is and how your metrics are defined, so it queries the right data the same way every time.

Avo is also your metrics store, and your agent gets a heads-up when the data it’s about to use has issues.

Docs: Avo MCP

Set it up

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

Heap and Avo, in short

Kind of tool
Analytics
Avo sends to Heap
Nothing directly. Your app sends events through the generated code
Avo reads from Heap
Nothing. Inspector reads event shapes in your app
Code change needed
Yes, in your app
With your agent
Avo MCP for meaning and metrics, Heap’s MCP for the data
Languages
The language of each of your sources
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.