Integrations / Analytics

Mixpanel

Read saved Insights reports and funnels, segment events, measure retention, run JQL and look up user profiles and their activity in a Mixpanel project.

11 tools

Tools

mixpanel.query_insights_report

Get the results of a saved Insights report. series maps each metric or segment to its values per date; headers says what the nested keys are. The report's ID is the number after report- in its URL.

bookmark_id*

mixpanel.segmentation

Count an event per day, hour or month, optionally split by a property and filtered with an expression. Returns the dates and, for each segment, its count per date.

event*from_date*to_date*onwhereunittypelimit

mixpanel.list_funnels

List the project's saved funnels with their numeric IDs.

mixpanel.query_funnel

Get a saved funnel's conversion for a date range: for each date bucket, each step's count, conversion from the previous step and from the start, and average time taken.

funnel_id*from_date*to_date*unitlengthlength_unitonwherelimit

mixpanel.retention

Measure retention: of the people who did born_event on each date, how many came back to do event in each following interval. Returns, per date, the cohort size (first) and the counts per interval.

from_date*to_date*retention_typeborn_eventeventborn_wherewhereunitintervalinterval_countunbounded_retentionon

mixpanel.top_events

Get today's most common events with their counts and the change from yesterday.

typelimit

mixpanel.run_jql

Run a JQL (JavaScript Query Language) script, e.g. function main() { return Events(params).groupBy(["name"], mixpanel.reducer.count()) }. JQL is in maintenance mode at Mixpanel but still answers. Returns the script's output.

script*params

mixpanel.query_profiles

Find user profiles by distinct ID, a filter expression or a cohort. Returns up to 1000 profiles a page with their properties; pass session_id back with the next page number for more.

distinct_iddistinct_idswhereoutput_propertiesfilter_by_cohortpagesession_id

mixpanel.profile_activity

Get the events one or more people did in a date range, oldest first, with each event's properties.

distinct_ids*from_date*to_date*

mixpanel.api_get

Send a GET request to any Mixpanel API path under https://{host}/api/query and return the response. For endpoints the named tools don't cover.

path*params

mixpanel.api_request writes

Send a POST, PUT, PATCH or DELETE request to any Mixpanel API path under https://{host}/api/query.

method*path*paramsbody

Tick Allow raw writes on the connection to add api_request, which can send POST, PUT, PATCH and DELETE requests to any Mixpanel API path.

Connect

  1. In Mixpanel, open Organization settings → Service Accounts and click Add Service Account. Give it the Consumer role or higher on the project to read, then copy its username and secret, which is shown only once.
  2. Paste them on the connection, along with the project ID from Project settings → Overview.
  3. Pick the region your project's data lives in. If the project uses Data Views, also enter the global view's workspace ID.

Credentials

Service account username Service account secret

Mixpanel API docs

Turn one person's AI process into the company's.

Murmurator is invite-only. Already invited? Sign in and build something real.