If you already use Snowplow to collect event data, it's easy to route that data to Mixpanel. The value of connecting Snowplow and Mixpanel is to enable fast, self-serve product analytics on the events you already collect. In this guide, we share the recommended ways to get events flowing from Snowplow → Mixpanel.
This guide assumes you have a Snowplow instance which you use to collect events from your apps and websites. If you don't already have event collection, check our Plan Your Implementation page for all the ways to get started!
Snowplow is an open-source, self-hosted platform for collecting and storing event data from your application. Teams use Snowplow's SDKs and platform to exercise full control over event data collection in their own cloud. Snowplow's event-centric approach is fully compatible with Mixpanel; our infrastructure is also purpose-built to ingest, store, and query events.
Below we show the architecture of a Snowplow pipeline from their documentation.
Snowplow's main responsibility is to collect and validate events before storing the events in either:
- A streaming system like Amazon Kinesis, Google PubSub, or ElasticSearch.
- A data lake like Amazon S3 or Google Cloud Storage.
Depending on which of the above destinations you've configured in Snowplow, you can follow our guides for ingesting from that destination into Mixpanel. We provide guides for S3, GCS, and PubSub. The process for Kinesis is very similar. Similar to Snowplow itself, these guides run fully in your own cloud and give you granular control over what exactly what gets sent to Mixpanel.
If you're using Snowplow to ingest events directly into a data warehouse like Snowflake or BigQuery, we recommend leveraging our Reverse ETL integrations with Census and HighTouch. Reverse ETL tools let you model events using a SQL query and push them to all the tools in your stack, including Mixpanel.
Finally, Mixpanel's Import API is a simple JSON-over-HTTP API. You can always use any other orchestration tools you have in your stack (Airflow, Dagster, Spark, etc.) to read data produced by Snowplow in your cloud and directly hit our import API to ingest them into Mixpanel.
Updated 4 months ago