capabilities.work

Resolve Identity and Track

A 3-step recipe with Mixpanel. We can help you get access.

Recipe · 3 steps

Resolve Identity and Track

with Mixpanel · Product Telemetry Instrumentation

Create an identity mapping, track an event for the user, then segment it.

  1. Create an identity mapping linking the anonymous device ID to the known user ID. The project token is carried in the $token body field.
  2. Send an event for the now-identified user. Authentication uses the project token passed as the query parameter.
  3. Query event segmentation for the tracked event to confirm activity is attributed to the resolved identity. Uses service account basic auth.
What you'll need to have ready
  • projectToken: Mixpanel project token used for ingestion and identity auth.
  • projectId: The Mixpanel project ID used by the Query API.
  • identifiedId: The known user ID to link the anonymous activity to.
  • anonId: The anonymous device ID to link.
  • eventName: Event name to track for the identified user and then segment.
  • fromDate: Segmentation start date (YYYY-MM-DD).
  • toDate: Segmentation end date (YYYY-MM-DD).
For your developer

Arazzo workflow mixpanel:identity-resolve-and-track, 3 operations: createIdentity → trackEvent → querySegmentation. Specs on APIs.io.