Mixpanel is a product analytics platform that helps businesses track user actions and understand how people engage with their apps and websites. It allows teams to measure behavior, build cohorts, and take action based on real-time or historical events.
The Mixpanel + PassKit integration allows you to trigger the creation, update, or removal of digital wallet passes based on what your users do. By connecting Mixpanel cohorts or event-based workflows to PassKit, you can automatically send personalized passes when customers reach specific milestones, complete tasks, or qualify for promotions.
This integration is ideal for teams that already use Mixpanel to track engagement and want to turn behavioral insights into real-world mobile wallet experiences.
Setting Up The Integration
To connect Mixpanel with PassKit:
- In PassKit, create and publish your pass project (e.g. loyalty card, membership, coupon, or event pass).
- Go to Settings > Developer Tools in PassKit to find your API region, SDK host, and API prefix.
- Generate your API credentials for secure access to the PassKit API.
- In Mixpanel, define key events or user behaviors that should trigger a pass — such as sign-ups, tier upgrades, repeat purchases, or completion of onboarding.
- Create a cohort based on these behaviors or events.
- Use Mixpanel’s Cohort Triggers or Webhooks (available on select plans) to send data to a middleware service or webhook endpoint that calls the PassKit API.
- Map Mixpanel properties (such as email, user ID, membership level, or purchase total) to the fields in your PassKit pass template.
- Optionally, use PassKit webhooks to send pass install or update activity back into your analytics stack.
This setup lets you trigger wallet pass delivery or updates directly from behavioral patterns Mixpanel is already tracking.
Common Use Cases
Mixpanel helps you use real-time product data to decide when a customer should receive or update their pass. This integration lets you take those signals and act on them immediately through PassKit.
Here are some common ways to use this integration:
- Send a loyalty pass when a customer completes onboarding or signs up for a paid plan
- Update a pass when a user reaches a new tier based on feature usage or spend
- Deliver time-sensitive coupons based on in-app activity or behavior patterns
- Remove a pass if a user becomes inactive or drops from a cohort
- Create batch pass updates for segmented users based on filters or calculated metrics
This makes it easy to respond to behavior with something your customer can access instantly in their digital wallet.
Industries That Benefit Most
This integration works well for companies that rely on product analytics and customer engagement data to drive loyalty, offers, and membership programs.
Industries that benefit the most include:
- SaaS and Subscription Platforms
- Retail and Ecommerce
- Consumer Apps and Loyalty Programs
- Digital Services and Marketplaces
- Event Platforms and Online Communities
If you’re already using Mixpanel to track what users are doing, this integration helps you respond with timely, relevant pass experiences.
Requirements
To set up this integration, you’ll need:
- A PassKit account with a published pass project
- A Mixpanel account with access to cohorts and webhook features
- API credentials from PassKit Developer Tools
- A webhook or automation platform to receive Mixpanel cohort or event data and call the PassKit API
- Field mappings between Mixpanel user properties and your PassKit pass template (such as name, email, membership tier, or coupon code)
Basic workflows can be created using Mixpanel webhooks and a simple middleware setup. Developers can extend functionality with custom automation and API requests.
Support & Documentation
Helpful resources:
SDK and API Configuration Settings
These guides will help you set up your connection, manage authentication, and handle pass events correctly.
Frequently Asked Questions
Can I Trigger A Pass When A User Enters A Mixpanel Cohort?
Yes. You can create a cohort in Mixpanel based on user behavior, such as completing a series of actions or reaching a milestone. When a user enters that cohort, you can send a webhook to create or update their pass in PassKit.
Can I Include Mixpanel Properties On The Wallet Pass?
Yes. You can map user properties from Mixpanel such as email, tier level, account status, or promo eligibility to custom fields in your PassKit template. This ensures each pass reflects current and relevant information for that user.
What Happens If A User Leaves A Cohort Or Becomes Inactive?
If a user no longer meets the conditions of a cohort, you can use that change to trigger a pass update or removal. This helps keep wallet passes in sync with what’s actually happening in Mixpanel.
Do I Need A Developer To Use The Mixpanel And PassKit Integration?
Not always. If you’re using simple cohorts and a prebuilt webhook tool like Zapier or Make, you may be able to build and maintain the integration without custom code.
For more advanced setups involving custom logic, filters, or warehouse data, developer support will be helpful.