# SourceMixpanel


## Fields

| Field                                                                                                                                                                                                                                                 | Type                                                                                                                                                                                                                                                  | Required                                                                                                                                                                                                                                              | Description                                                                                                                                                                                                                                           | Example                                                                                                                                                                                                                                               |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `credentials`                                                                                                                                                                                                                                         | [models.AuthenticationWildcard](../models/authenticationwildcard.md)                                                                                                                                                                                  | :heavy_check_mark:                                                                                                                                                                                                                                    | Choose how to authenticate to Mixpanel                                                                                                                                                                                                                |                                                                                                                                                                                                                                                       |
| `attribution_window`                                                                                                                                                                                                                                  | *Optional[int]*                                                                                                                                                                                                                                       | :heavy_minus_sign:                                                                                                                                                                                                                                    | A 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. (This value should be non-negative integer)                              |                                                                                                                                                                                                                                                       |
| `date_window_size`                                                                                                                                                                                                                                    | *Optional[int]*                                                                                                                                                                                                                                       | :heavy_minus_sign:                                                                                                                                                                                                                                    | Defines 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. (This value should be positive integer)                                                            |                                                                                                                                                                                                                                                       |
| `end_date`                                                                                                                                                                                                                                            | [date](https://docs.python.org/3/library/datetime.html#date-objects)                                                                                                                                                                                  | :heavy_minus_sign:                                                                                                                                                                                                                                    | The 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                                                                                                                     | 2021-11-16                                                                                                                                                                                                                                            |
| `page_size`                                                                                                                                                                                                                                           | *Optional[int]*                                                                                                                                                                                                                                       | :heavy_minus_sign:                                                                                                                                                                                                                                    | The number of records to fetch per request for the engage stream. Default is 1000. If you are experiencing long sync times with this stream, try increasing this value.                                                                               |                                                                                                                                                                                                                                                       |
| `project_timezone`                                                                                                                                                                                                                                    | *Optional[str]*                                                                                                                                                                                                                                       | :heavy_minus_sign:                                                                                                                                                                                                                                    | Time zone in which integer date times are stored. The project timezone may be found in the project settings in the <a href="https://help.mixpanel.com/hc/en-us/articles/115004547203-Manage-Timezones-for-Projects-in-Mixpanel">Mixpanel console</a>. | US/Pacific                                                                                                                                                                                                                                            |
| `region`                                                                                                                                                                                                                                              | [Optional[models.SourceMixpanelRegion]](../models/sourcemixpanelregion.md)                                                                                                                                                                            | :heavy_minus_sign:                                                                                                                                                                                                                                    | The region of mixpanel domain instance either US or EU.                                                                                                                                                                                               |                                                                                                                                                                                                                                                       |
| `select_properties_by_default`                                                                                                                                                                                                                        | *Optional[bool]*                                                                                                                                                                                                                                      | :heavy_minus_sign:                                                                                                                                                                                                                                    | Setting this config parameter to TRUE ensures that new properties on events and engage records are captured. Otherwise new properties will be ignored.                                                                                                |                                                                                                                                                                                                                                                       |
| `source_type`                                                                                                                                                                                                                                         | [models.Mixpanel](../models/mixpanel.md)                                                                                                                                                                                                              | :heavy_check_mark:                                                                                                                                                                                                                                    | N/A                                                                                                                                                                                                                                                   |                                                                                                                                                                                                                                                       |
| `start_date`                                                                                                                                                                                                                                          | [date](https://docs.python.org/3/library/datetime.html#date-objects)                                                                                                                                                                                  | :heavy_minus_sign:                                                                                                                                                                                                                                    | The 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.                                                                 | 2021-11-16                                                                                                                                                                                                                                            |