Find it on GitHub: /edgee-cloud/mixpanel-component Mixpanel is a powerful product analytics platform that helps you analyze user behavior, understand engagement, and make data-driven decisions. With Mixpanel, you can track events, create funnels, measure retention, and gain actionable insights about how users interact with your product. This component lets you collect and forward analytics events to your Mixpanel instance directly from the edge, enabling real-time tracking and analysis while maintaining optimal performance.

Event Mapping

Here’s how Edgee events map to PostHog events:
Edgee EventPostHog EventDescription
Pagepagepageview event with url as property
TrackYour event nameA event with your custom event name
UseruserSets all the data for the user

Getting Started

To integrate PostHog into your Edgee project:
  1. Open the Edgee console and navigate to your project’s Components.
  2. Select “Add a component” and choose edgee/mixpanel from the list of available components.
  3. Enter your Mixpanel API Secret, Project Token, and optionally Project ID and Region.
  4. Click Save.
  5. Once the component has been configured, you are ready to send analysis events to Mixpanel.

Component Name

When configuring the component in your Edgee Data Layer or within SDK calls, use edgee/mixpanel as the component name:
{
  "components": {
    "edgee/mixpanel": true
  }
}