Linking Mailchimp as a source
Contents
The Mailchimp connector can link lists, campaigns, reports, and contacts to PostHog.
To link Mailchimp:
Go to the sources tab of the data pipeline section in PostHog.
Click + New source and then click Link next to Mailchimp.
Next, you need an API key from Mailchimp. Go to your API keys settings in Mailchimp. Click Create A Key, give it a name, and copy the value of the newly created key. The key should be in the format
key-dc(e.g.,abc123def456-us6), where the suffix after the last hyphen is your Mailchimp data center.Back in PostHog, paste the API key in the
API keyfield and click Next.On the next page, set up the schemas you want to sync and modify the method and frequency as needed. Once done, click Import.
Once the syncs are complete, you can start using Mailchimp data in PostHog.
Configuration
| Option | Type | Required |
|---|---|---|
API key | password | Yes |
Supported tables
| Table | Description | Sync method | Incremental field | Primary key |
|---|---|---|---|---|
lists | An audience (mailing list) in Mailchimp that contains contacts and their subscription status. | Full refresh | — | — |
campaigns | An email campaign created in Mailchimp, including its settings, recipients, and content. | Full refresh | — | — |
reports | A performance report for a sent campaign, summarizing opens, clicks, bounces, and engagement. | Full refresh | — | — |
contacts | A member (contact) of a Mailchimp audience, including subscription status and engagement. | Incremental, Full refresh | last_changed | — |