Mixpanel

Send verified subscription events from SubHero to Mixpanel, with your own credentials, revenue mode and sandbox forwarding settings.

Open your project’s Webhooks & integrations page as an owner/admin. Configure credentials, revenue mode and sandbox forwarding, then enable the destination. Members can read status and delivery history.

Create a Mixpanel service account with access to the target project and use its Basic-auth username/password, not the client project token. Select US or EU to match data residency. The subscriber user ID becomes distinct_id; align your client identity. Strict import mode sends one event at a time, checks the imported-record count, and uses the original timestamp plus $insert_id for deterministic retries. ip: 0 avoids attributing events to the backend server location. Money crosses to a JSON number only at this vendor serialization boundary; all internal amounts stay exact.

Credential fields

The cookie-authenticated endpoint is PUT /console/projects/:id/integrations/mixpanel. Its credentials value is:

json code
{
  "project_id": "123456",
  "username": "YOUR_SERVICE_ACCOUNT_USERNAME",
  "password": "YOUR_SERVICE_ACCOUNT_PASSWORD"
}

Secrets are encrypted and write-only. Omit credentials to change settings without rotating them. Supplying credentials replaces the whole credential object, including both platforms when configured. Settings are enabled, forwardSandbox (default false), revenueMode (gross or proceeds), optional eventTypeMap, and region (us or eu, used by Amplitude/Mixpanel).

Test and operate

Save and enable the destination, click Test connection, and supply real test-device identifiers in the JSON form. A minimal identity-based test uses {"store":"app_store","user_id":"your-test-user"}; MMPs also need the SDK identifiers/context described above. This sends a non-revenue subhero_connection_test event and records a private test delivery. Refresh Recent deliveries and verify receipt in the vendor dashboard. A local delivered acknowledgement alone is not live-vendor certification.

Production store events are forwarded by default. Explicitly enable sandbox forwarding for sandbox store events. Disabling pauses pending work; enabling resumes it without backfilling events generated while disabled. Snapshots expire after 30 days. Failed deliveries retry after 1 minute, 10 minutes, 1 hour and 6 hours, then become dead; crashes consume attempts too. Stable local event IDs survive retries, but receiver guarantees vary as described above.

Official API documentation. Contract checked 2026-10-30; real vendor-account validation remains an owner release check.