Mixpanel
This page contains the setup guide and reference information for the Mixpanel source connector.
Prerequisites
To set up the Mixpanel source connector, you'll need a Mixpanel Service Account and it's Project ID, the Project Timezone, and the Project region (US
or EU
).
Set up the Mixpanel connector in Airbyte
- Log into your Airbyte Cloud or navigate to the Airbyte Open Source dashboard.
- Click Sources and then click + New source.
- On the Set up the source page, select Mixpanel from the Source type dropdown.
- Enter the name for the Mixpanel connector.
- For Authentication, select Service Account from the dropdown and enter the Mixpanel Service Account secret.
- For Project ID, enter the Mixpanel Project ID.
- For Attribution Window, enter the number of days for the length of the attribution window.
- For Project Timezone, enter the timezone for your Mixpanel project.
- For Start Date, enter the date in YYYY-MM-DD format. The data added on and after this date will be replicated. If left blank, the connector will replicate data from up to one year ago by default.
- For End Date, enter the date in YYYY-MM-DD format.
- For Region, enter the region for your Mixpanel project.
- For Date slicing window, enter the number of days to slice through data. If you encounter RAM usage issues due to a huge amount of data in each window, try using a lower value for this parameter.
- Click Set up source.
Supported sync modes
The Mixpanel source connector supports the following sync modes:
Note: Incremental sync returns duplicated (old records) for the state date due to API filter limitation, which is granular to the whole day only.
Supported Streams
- Export (Incremental)
- Engage (Incremental)
- Funnels (Incremental)
- Revenue (Incremental)
- Annotations (Full table)
- Cohorts (Incremental)
- Cohort Members (Incremental)
Primary key selection for Export stream
Mixpanel recommends using [insert_id, event_time, event_name, distinct_id]
as the primary key. However, note that some rows might lack an insert_id
for certain users. Ensure you select a primary key that aligns with your data.
Performance considerations
Syncing huge date windows may take longer due to Mixpanel's low API rate-limits (60 reqs per hour).
Reference
Config fields reference
CHANGELOG
Expand to review
Version | Date | Pull Request | Subject |
---|---|---|---|
3.1.2 | 2024-05-30 | 38710 | Update authenticator CDK package |
3.1.1 | 2024-06-04 | 39006 | [autopull] Upgrade base image to v1.2.1 |
0.1.17 | 2022-06-01 | 12801 | Acceptance tests fix, fixing some bugs for beta release |
0.1.16 | 2022-05-30 | 12801 | Add end_date parameter |
0.1.15 | 2022-05-04 | 12482 | Update input configuration copy |
0.1.14 | 2022-05-02 | 11501 | Improve incremental sync method to streams |
0.1.13 | 2022-04-27 | 12335 | Adding fixtures to mock time.sleep for connectors that explicitly sleep |
0.1.12 | 2022-03-31 | 11633 | Increase unit test coverage |
0.1.11 | 2022-04-04 | 11318 | Change Response Reading |
0.1.10 | 2022-03-31 | 11227 | Fix cohort id always null in the cohort_members stream |
0.1.9 | 2021-12-07 | 8429 | Updated titles and descriptions |
0.1.7 | 2021-12-01 | 8381 | Increased performance for discovery stage during connector setup |
0.1.6 | 2021-11-25 | 8256 | Deleted date_window_size and fix schemas date type issue |
0.1.5 | 2021-11-10 | 7451 | Support start_date older than 1 year |
0.1.4 | 2021-11-08 | 7499 | Remove base-python dependencies |
0.1.3 | 2021-10-30 | 7505 | Guarantee that standard and custom mixpanel properties in the Engage stream are written as strings |
0.1.2 | 2021-11-02 | 7439 | Added delay for all streams to match API limitation of requests rate |
0.1.1 | 2021-09-16 | 6075 | Added option to select project region |
0.1.0 | 2021-07-06 | 3698 | Created CDK native mixpanel connector |