Skip to main content

Mixpanel

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).

Setting up the Mixpanel connector

NoItemRequiredExampleNotes
1Authentication *YesChoose how to authenticate to Mixpanel
Refer to the documentation in the form while using the connector
Service Account
Project Secret
2Project IDNoYour project ID number. See the docs for more information on how to obtain this.
3Attribution WindowNoA period of time for attributing results to ads and the lookback period after those actions occur during which ad results are counted. Default attribution window is 5 days.
4Project TimezoneNoUS/Pacific
UTC
Time zone in which integer date times are stored. The project timezone may be found in the project settings in the Mixpanel console.
5Select Properties By DefaultNoSetting this config parameter to TRUE ensures that new properties on events and engage records are captured. Otherwise new properties will be ignored.
6Start DateNo2021-11-16The date in the format YYYY-MM-DD. Any data before this date will not be replicated. If this option is not set, the connector will replicate data from up to one year ago by default.
7End DateNo2021-11-16The date in the format YYYY-MM-DD. Any data after this date will not be replicated. Left empty to always sync to most recent date
8RegionNoThe region of mixpanel domain instance either US or EU.
9Date slicing windowNoDefines window size in days, that used to slice through data. You can reduce it, if amount of data in each window is too big for your environment.

Tables in the Mixpanel connector

NoTable NameColumnsPrimary KeysRead ModeInc. Sync KeysAPI Info
1cohort_members15distinct_idFull Refreshlast_seen
2revenue5Full RefreshdateAPI Reference
3engage14Full RefreshAPI Reference
4funnels6funnel_id, dateFull Refresh, IncrementaldateAPI Reference
5annotations4Full RefreshAPI Reference
6export6Full RefreshtimeAPI Reference
7cohorts8idFull RefreshcreatedAPI Reference

Table: cohort_members

NoColumn NameTypeNotes
1last_seenVARCHARIncremental sync key
2cityVARCHAR
3timezoneVARCHAR
4last_nameVARCHAR
5cohort_idINTEGER
6country_codeVARCHAR
7unblockedVARCHAR
8distinct_idVARCHARPrimary Key
9browserVARCHAR
10nameVARCHAR
11browser_versionVARCHAR
12idVARCHAR
13regionVARCHAR
14first_nameVARCHAR
15emailVARCHAR

Table: revenue

NoColumn NameTypeNotes
1dateVARCHARIncremental sync key
2paid_countINTEGER
3datetimeVARCHAR
4amountDOUBLE
5countINTEGER

Table: engage

NoColumn NameTypeNotes
1last_seenVARCHAR
2cityVARCHAR
3timezoneVARCHAR
4last_nameVARCHAR
5country_codeVARCHAR
6unblockedVARCHAR
7distinct_idVARCHAR
8browserVARCHAR
9nameVARCHAR
10browser_versionVARCHAR
11idVARCHAR
12regionVARCHAR
13first_nameVARCHAR
14emailVARCHAR

Table: funnels

NoColumn NameTypeNotes
1dateVARCHARIncremental sync key, Primary Key
2datetimeVARCHAR
3funnel_idINTEGERPrimary Key
4nameVARCHAR
5analysisVARCHAR
6stepsVARCHAR

Table: annotations

NoColumn NameTypeNotes
1dateVARCHAR
2project_idINTEGER
3descriptionVARCHAR
4idINTEGER

Table: export

NoColumn NameTypeNotes
1distinct_idVARCHAR
2timeVARCHARIncremental sync key
3eventVARCHAR
4sampling_factorINTEGER
5datasetVARCHAR
6labelsVARCHAR

Table: cohorts

NoColumn NameTypeNotes
1is_visibleINTEGER
2project_idINTEGER
3data_group_idINTEGER
4createdVARCHARIncremental sync key
5nameVARCHAR
6countINTEGER
7descriptionVARCHAR
8idINTEGERPrimary Key

External Resources

Zipstack Cloud features a powerful SQL querying engine on top of many types of connectors, including those from Trino, some custom connectors and connectors from the open source Airbyte project. Some Zipstack cloud connectors are designed to utilize and expand upon Airbyte's connector protocol, but they do not use Airbyte's EL core. Additionally, some parts of the documentation for these connectors have been adapted from the connector documentation found in Airbyte's open source project.