Our MailChimp integration is currently in Closed Beta. As such, the info in this article may change.
Interested in participating in the beta? Get in touch with us.
Release Status | Closed Beta | Availability | Free |
Status Page | MailChimp Status Page | Default Historical Sync | 1 year |
Whitelist Tables/Columns | Unsupported/Unsupported | Default Replication Frequency | 24 hours |
Full Table Endpoints | 6 | Incremental Endpoints | 0 |
Destination Incompatibilities | None |
Connecting MailChimp
Connecting your MailChimp data to Stitch is a four-step process:
- Add MailChimp as a Stitch data source
- Define the Historical Sync
- Define the Replication Frequency
- Authorize Stitch to access MailChimp
Add MailChimp as a Stitch Data Source
- On the Stitch Dashboard page, click the Add an Integration button.
-
Click the MailChimp icon.
-
Enter a name for the integration. This is the name that will display on the for the integration; it’ll also be used to create the schema in your data warehouse.
For example, the name “Stitch MailChimp” would create a schema called
stitch_mailchimp
in the data warehouse. This schema is where all the tables for this integration will be stored.
Defining the Historical Sync
The Sync Historical Data setting will define the starting date for your MailChimp integration. This means that data equal to or newer than this date will be replicated to your data warehouse.
Change this setting if you want to sync data beyond MailChimp’s default setting of 1 year. For a detailed look at historical syncs, check out the Syncing Historical SaaS Data article.
Define the Replication Frequency
The Replication Frequency controls how often Stitch will attempt to replicate data from your MailChimp integration. By default the frequency is set to 24 hours, but you can change it to better suit your needs.
Before setting the Replication Frequency, note that:
- The more often MailChimp is set to replicate, the higher the number of replicated rows.
-
The number of rows in the source may not equal the number of rows replicated by Stitch. Tables that use Full Table Replication will result in a higher number of replicated rows.
- If you’re using a data warehouses that doesn’t natively support nested structures, you’ll see a higher number of replicated rows due to the de-nesting Stitch performs.
To help prevent overages, we recommend setting the Replication Frequency to something less frequent - like 6 hours instead of 30 minutes. For tips on reducing your row count, check out the Reducing Your Row Count section of our Billing Guide.
After selecting a Replication Frequency, click Save Integration.
Authorizing Stitch to Access MailChimp
Lastly, you’ll be directed to MailChimp’s website to complete the setup.
- Enter the credentials of the MailChimp account you want to connect to Stitch.
- Click Login.
- After the authorization process successfully completes, you’ll be redirected back to Stitch.
- Click All Done.
MailChimp’s Intial Sync
After you finish setting up MailChimp, you might see its Sync Status show as Pending on either the Stitch Dashboard or in the Integration Details page.
For a new integration, a Pending status indicates that Stitch is in the process of scheduling the initial sync for the integration. This may take some time to complete.
Replicating MailChimp Data
Because the MailChimp endpoints included in our integration don’t currently allow querying by a date, all tables use Full Table Replication.
The majority of tables also contain nested structures. If you’re using a data warehouse that doesn’t natively support nested structures, Stitch will de-nest these rows and create subtables, leading to a higher number of replicated rows than what’s in MailChimp.
Email Activity Record Creation
The mailchimp_email_activity
table and its subtables can contain large numbers of rows due to how MailChimp creates records for email activities. A single email address can have many actions associated with a single campaign, each of which can be its own row.
MailChimp Schema
Stitch's MailChimp integration includes these tables:
- mailchimp_campaigns
- mailchimp_email_activity
- mailchimp_lists
- mailchimp_members
- mailchimp_sent_to
- mailchimp_unsubscribes
mailchimp_campaigns
Replication Method: Full Table
Primary Key: id
Contains Nested Structures?:
Yes
mailchimp_campaigns
table contains info about the campaign settings and content in your account.mailchimp_campaigns & Nested Structures
This table contains nested structures. If you use a data warehouse that doesn't natively support nested structures, some of the attributes listed below may be in a subtable.
These items are marked with a *
mailchimp_campaigns Attributes
While we try to include everything MailChimp has here, this may not be a full list of attributes. Refer to MailChimp's documentation for a full list and description of each attribute.
Campaign ID (
id
)archive_url
content_type
create_time
delivery_status__enabled
emails_sent
links
*
long_archive_url
recipients__list_id
recipients__list_name
recipients__recipient_count
recipients__segment_text
report_summary__click_rate
report_summary__clicks
report_summary__ecommerce__total_orders
report_summary__ecommerce__total_revenue
report_summary__ecommerce__total_spent
report_summary__open_rate
report_summary__opens
report_summary__subscriber_clicks
report_summary__unique_opens
send_time
settings__authenticate
settings__auto_footer
settings__auto_tweet
settings__drag_and_drop
settings__fb_comments
settings__from_name
settings__inline_css
settings__reply_to
settings__subject_line
settings__template_id
settings__timewarp
settings__title
settings__to_name
settings__use_conversation
status
tracking__clicktale
tracking__ecomm360
tracking__goal_tracking
tracking__google_analytics
tracking__html_clicks
tracking__opens
tracking__text_clicks
type
mailchimp_email_activity
Replication Method: Full Table
Primary Key: campaign_id:email_id
Contains Nested Structures?:
Yes
mailchimp_email_activity
table contains info about member activity for a specific campaign.mailchimp_email_activity & Nested Structures
This table contains nested structures. If you use a data warehouse that doesn't natively support nested structures, some of the attributes listed below may be in a subtable.
These items are marked with a *
Email Activity & Row Counts
This table (and its subtables, if the above applies) can contain large numbers of rows due to how MailChimp creates records for email activities. A single email address can have many actions associated with a single campaign, each of which can be its own row.
mailchimp_email_activity Attributes
While we try to include everything MailChimp has here, this may not be a full list of attributes. Refer to MailChimp's documentation for a full list and description of each attribute.
campaign_id
email_id
email_address
list_id
links
*
activity
*
mailchimp_lists
Replication Method: Full Table
Primary Key: id
Contains Nested Structures?:
No
mailchimp_lists
table contains info about the subscriber lists in your MailChimp account.mailchimp_lists Attributes
While we try to include everything MailChimp has here, this may not be a full list of attributes. Refer to MailChimp's documentation for a full list and description of each attribute.
List ID (
id
)beamer_address
campaign_defaults__from_email
campaign_defaults__from_name
campaign_defaults__language
campaign_defaults__subject
contact__address1
contact__address2
contact__city
contact__company
contact__country
contact__phone
contact__state
contact__zip
date_created
email_type_option
links
*
list_rating
name
notify_on_subscribe
notify_on_unsubscribe
permission_reminder
stats__avg_sub_rate
stats__avg_unsub_rate
stats__campaign_count
stats__campaign_last_sent
stats__cleaned_count
stats__cleaned_count_since_send
stats__click_rate
stats__last_sub_date
stats__last_unsub_date
stats__member_count
stats__member_count_since_send
stats__merge_field_count
stats__open_rate
stats__target_sub_rate
stats__unsubscribe_count
stats__unsubscribe_count_since_send
subscribe_url_long
subscribe_url_short
use_archive_bar
visibility
mailchimp_members
Replication Method: Full Table
Primary Key: member_id:list_id
Contains Nested Structures?:
Yes
mailchimp_members
table contains info about the members of your MailChimp campaigns.mailchimp_members & Nested Structures
This table contains nested structures. If you use a data warehouse that doesn't natively support nested structures, some of the attributes listed below may be in a subtable.
These items are marked with a *
mailchimp_members Attributes
While we try to include everything MailChimp has here, this may not be a full list of attributes. Refer to MailChimp's documentation for a full list and description of each attribute.
member_id
list_id
email_address
email_client
email_type
ip_opt
ip_signup
language
last_changed
links
*
list_id
location__country_code
location__dstoff
location__gmtoff
location__latitude
location__longitude
location__timezone
member_rating
merge_fields__fname
merge_fields__lname
merge_fields__mmerge3
stats__avg_click_rate
stats__avg_open_rate
status
timestamp_opt
unique_email_id
vip
mailchimp_sent_to
Replication Method: Full Table
Primary Key: campaign_id:email_id
Contains Nested Structures?:
Yes
mailchimp_sent_to
table contains info about campaign recipients.mailchimp_sent_to & Nested Structures
This table contains nested structures. If you use a data warehouse that doesn't natively support nested structures, some of the attributes listed below may be in a subtable.
These items are marked with a *
mailchimp_sent_to Attributes
While we try to include everything MailChimp has here, this may not be a full list of attributes. Refer to MailChimp's documentation for a full list and description of each attribute.
campaign_id
email_id
absplit_group
email_address
gmt_offset
last_open
links
*
merge_fields__fname
merge_fields__lname
merge_fields__mmerge3
open_count
status
vip
mailchimp_unsubscribes
Replication Method: Full Table
Primary Key: campaign_id:email_id
Contains Nested Structures?:
Yes
mailchimp_unsubscribes
table contains info about those who have unsubscribed from your email campaigns.mailchimp_unsubscribes & Nested Structures
This table contains nested structures. If you use a data warehouse that doesn't natively support nested structures, some of the attributes listed below may be in a subtable.
These items are marked with a *
mailchimp_unsubscribes Attributes
While we try to include everything MailChimp has here, this may not be a full list of attributes. Refer to MailChimp's documentation for a full list and description of each attribute.
campaign_id
email_id
absplit_group
email_address
gmt_offset
last_open
links
*
merge_fields__fname
merge_fields__lname
merge_fields__mmerge3
open_count
reason
status
timestamp
vip
Related | Troubleshooting |
Questions? Feedback?
Did this article help? If you have questions or feedback, please reach out to us.