Skip to content

Connect Mixpanel to Infograph

What it brings in: events, profiles, annotations, event definitions, event names and 6 more.

What you need

  • A Mixpanel project. One connection reads one project, so connect each project you want on its own.
  • The Owner or Admin role in Mixpanel. Only they can create service accounts.
  • Your project's data residency. If you open Mixpanel at eu.mixpanel.com or in.mixpanel.com, the project is in the EU or India.

Steps

  1. Open Service Accounts in Mixpanel

    In Mixpanel, click the gear icon at the top right and open Organization Settings, then Service Accounts.

  2. Create a service account for Infograph

    Click Add Service Account and name it Infograph. Give it the Analyst role on the project you want to connect: the Consumer role cannot export data. Leave the expiry empty, or note the date, since Mixpanel stops accepting the account when it expires.

  3. Copy the username and secret

    Mixpanel shows the service account's username and secret once. Copy both before you close the window. If you lose the secret, create a new service account.

  4. Find the Project ID

    Open Project Settings, then Overview, and copy the Project ID. It is a number.

  5. Paste them in Infograph and choose your tables

    Open Mixpanel in Infograph. Choose the Data residency your project is in: United States, EU or India. Paste the username into Service account username, the secret into Service account secret and the number into Project ID, then press Connect. Pick the tables you want and Infograph starts loading them: a year of daily counts, every profile seen in the last five years, and the last 30 days of raw events.

What it syncs

Each becomes a table in Infolake that you can chart, report on or ask about. You choose which to sync.

Raw eventsevents

Every event, one row each, with its name, time in UTC to the millisecond, distinct id, user and device ids, browser, OS, city, country, page, referrer and UTM tags, and your own properties as JSON. Starts with the last 30 days. About 150 MB per million events. For questions no saved report answers.

Ask: “Which UTM campaign brought the users who signed up last month?”

User profilesprofiles

Every user profile, with its distinct id, email, name, phone, city, country, time zone, when it was created and last seen, and your other profile properties as JSON. Each sync reads the profiles seen since the last one.

Ask: “How many users have not been seen for 30 days?”

Annotationsannotations

The notes your team added to Mixpanel charts, such as a release or a campaign, with their date. Explains spikes and dips.

Ask: “Did last month's launch change daily signups?”

Event definitionsevent_definitions

The events described in Lexicon, Mixpanel's data dictionary, with their descriptions. Tells you, and the AI, what each event means. Empty until your team describes events in Lexicon.

Ask: “Which events have a description in Lexicon?”

Top eventsevent_names

The names of the most common events in the project over the last 31 days. Needs a paid plan.

Ask: “What are our most common events this month?”

Show all 11 tables
Event counts by dayevent_counts_daily

How many times each of your top 100 events happened each day, in the project's time zone, for the last year. The list is set when you connect, so press Re-discover streams to refresh it. Needs a paid plan.

Ask: “How many purchases happened each week this quarter?”

Users per event by dayevent_users_daily

How many different users did each of your top 100 events each day. Users cannot be added up across days, since the same person counts every day. The list is set when you connect, so press Re-discover streams to refresh it. Needs a paid plan.

Ask: “How many people used search each day last week?”

Funnelsfunnels

The funnels your team saved in Mixpanel, with their id and name. Needs a paid plan.

Ask: “Which funnels do we have saved?”

Funnel conversion by dayfunnel_daily

For each saved funnel, one row per day and step, with how many reached the step, the conversion from the step before and from the start, and the average time it took. 180 days of history, the last 30 read again because conversions keep landing. Needs a paid plan.

Ask: “Where do people drop out of our signup funnel, and has it improved this month?”

Cohortscohorts

Your saved cohorts, with their name, description, size and when they were created. Needs a paid plan.

Ask: “Which of our cohorts are the largest?”

Cohort memberscohort_members

The profiles in each saved cohort, one row per cohort and person, with the same fields as User profiles. Each cohort is read whole on every sync, so large cohorts use up Mixpanel's hourly limit. Needs a paid plan.

Ask: “How many of our power users cohort signed up this year?”

Troubleshooting

Each entry is the message Infograph shows when a connection fails. Open it for the fix.

Those credentials were not accepted.

Mixpanel did not accept the service account for that project. Check you copied all of the username and secret. If they are right, check the Project ID: the service account must be a member of that project, so add the project to it under Organization Settings, Service Accounts. Then check the Data residency: a project in the EU or India answers only there, and the wrong choice is refused like a wrong secret. A service account that expired or was deleted stops working too: create a new one, open the connection in Infograph, choose Edit configuration and paste it.

Common problems

These happen in Mixpanel itself, where Infograph cannot see them.

Event counts, funnels and cohorts are missing
These come from Mixpanel's Query API, which is not on the Free plan. On a Free project Infograph offers raw events, profiles, annotations and event definitions only. Once you upgrade, open the connection and press Re-discover streams to see the rest. Daily counts can still be worked out from raw events.
Raw events can fill your Infolake
Raw events are one row per event, about 150 MB per million, and the table starts ticked. The first load reads the last 30 days, and every sync adds the days since. When your Infolake is full, every sync on your account pauses, not just this one. On a paid plan the daily counts and funnels answer most questions in kilobytes: untick Raw events if you do not need them.
Mixpanel's hourly limits slow a sync down
Mixpanel allows 60 requests an hour for raw events, and 60 for everything else, per project. When a sync reaches one, that table stops and the next sync carries on where it left off. A project with hundreds of thousands of profiles takes several syncs to load the first time. Cohort members is the exception: it is read whole in one go, so if your cohorts hold more than about 60,000 people in total it can fail on every sync. Untick it if so.
Raw events of the last few days change
An event can reach Mixpanel days after it happened, under its own past date. So every sync reads the last five days again and replaces them. Today's events are read tomorrow. Mixpanel's export can hold the same event twice: Infograph keeps one row, using Mixpanel's own rule of the event name, user, time and insert id.
Daily figures and raw events disagree at the edges of a day
The daily counts and funnels use your project's time zone, the same days as your reports. Raw events and profile times are in UTC. Compare like with like around midnight.
Raw event times look shifted on an older project
For a project created before 2023, Mixpanel exports event times in the project's own time zone rather than UTC. If your raw events look a few hours out against your Mixpanel reports, this is why: allow for your project's time zone offset when you read them.
Deleted profiles and events stay
Mixpanel does not say when a profile or event is deleted, so a profile deleted after it was synced keeps its last row, and so do events removed by a deletion request in Mixpanel. A profile that has never been seen, with no last seen time, is not synced.
Some fields are not synced
Raw events keep the event, its time, user and device ids, browser, OS, device, city, region, country, page and referrer, UTM tags and library, plus every other property as JSON. Infograph drops IP addresses, latitude and longitude and advertising ids.

Built with Mixpanel

Dashboards and guides built on Mixpanel data.