Documentation Index

Fetch the complete documentation index at: https://docs.dataddo.com/llms.txt

Use this file to discover all available pages before exploring further.

MailChimp

Prev Next

MailChimp is an all-in-one marketing platform that enables businesses to manage email marketing campaigns, design and send emails, and track their performance. It also offers additional features such as audience segmentation, automation, and reporting to help businesses build and maintain effective marketing strategies and engage with their audience more effectively.

Refer to our website for the list of metrics and attributes available in Dataddo.

Refer to Mailchimp's official documentation to see all available endpoints from the Mailchimp API.

Authorize Connection to MailChimp

In MailChimp

To authorize your MailChimp account, you will need your username, an API key (= API token), and your DC (data center for your account).

  1. In your MailChimp account, navigate to the API keys page.
  2. Click on Create API Key and name your key.
  3. Click on Generate Key and copy the value.
  4. In the first part of your MailChimp URL, you can find your DC, e.g. us1 is the DC in this URLhttps://us1.admin.mailchimp.com/account/api/manage.

In Dataddo

  1. On the Authorizers page, click on Authorize New Service and select MailChimp.
  2. Fill in the following fields:
    1. Username: Your MailChimp username.
    2. API Key: MailChimp API key.
    3. DC: Data center for your account (e.g. us1 from https://us1.admin.mailchimp.com/account/api/manage).
  3. Rename your authorizer for easier identification and click on Save.

Data Coverage

MailChimp exposes the following datasets. Each dataset maps to a table you can extract. Example fields are a representative sample; each dataset returns more columns.

Dataset Description Example fields Date range
Campaigns Aggregated Report Data Campaign ID, Click rate, Clicks, Content type, Create time, Ecommerce total orders (+20 more) Yes
Campaign click details Get information about clicks on specific links in campaigns Link ID, Campaign ID, Campaign Title, Click percentage, Last click, Long Archive URL (+5 more) Yes
Campaign Open Reports Get a detailed report about any emails in a specific campaign that were opened by the recipient. Campaign ID, Campaign Title, Contact Status, Email Address, Email ID, List ID (+6 more) Yes
Campaign Reports Get report details for a specific sent campaign. Id, Abuse Reports, Bounces Hard Bounces, Bounces Soft Bounces, Bounces Syntax Errors, Campaign Title (+35 more) Yes
Unsubscribes per Campaign Unsubscribed users per campaign Campaign ID, Count, Reason Yes
Campaigns Variate Combination Information of variate settings Campaign Id, Content Description, From Name, Recipients, Reply To, Send Time (+2 more) Yes
List interests Get information about all list's interests Interest ID, Category ID, Category title, Category type, List ID, Name (+1 more) No
List members Get information about your list members Member Id, Abtest, Address, City, Company, Comp Size (+41 more) Yes
Lists Get information about all lists Link ID, Average subscription rate, Average unsubscription rate, Beamer address, Campaign count, Campaign last sent (+16 more) Yes
Lists growth history Get growth information about all lists List ID, Cleaned, Date, Deleted, Existing, Imports (+6 more) No
Merge Fields List merge fields Merge Id, Default Value, Display Order, List Id, Name, Options Size (+4 more) No
Segments Manage segments and tags for a specific MailChimp list Id, Created At, List Id, Member Count, Name, Type (+1 more) Yes
Segments Members Manage segments members for a specific MailChimp list Id, Avg Click Rate, Avg Open Rate, Email Address, Email Client, Email Type (+36 more) No
Sent To Get details about campaign recipients. Email ID, Company, FNAME, LNAME, Pais, Region (+13 more) Yes
Campaign Top Locations Get top open locations for a specific campaign. Campaign ID, Campaign Title, Country Code, Opens, Region, Region Name Yes

How Data Extraction Works

What each extraction pulls depends only on whether a dataset supports a date range (see the Date range column above):

  • Date range supported (Yes): the source reads a relative window (for example "last 7 days"), and that window slides forward with the current date. Every run re-reads the window, so a range of "1 day ago" always pulls the previous day (D-1). Each run replaces the window's data rather than adding older history. To load records from before the window, run a full data re-sync with a wider range. See Data Backfilling.
  • No date range (No): every run pulls all currently available data.

Set the relative date range when you create the source.

Metadata Columns

When you create a source, you can add these Dataddo metadata columns to the extracted data:

  • dataddo_hash - a fingerprint built from each record's key fields. It works as a natural key, so it is ideal for upserts (updating existing rows in your destination instead of creating duplicates).
  • dataddo_extraction_timestamp - the date and time the row was extracted. Use it to track how records change over time, for example to build slowly changing dimensions.

How to Create a Mailchimp Data Source

Creating a data source takes you through six steps, shown in the progress bar at the top of the wizard. Each step is explained below.

1. Pick the connector

On the Sources page, click Create Source, then select the connector from the catalog. Use the search bar or the category tabs if you do not see it right away. You can rename the source at any time using the pencil icon next to its name.

2. Select the dataset

A dataset defines the shape of your data: which fields you get and how they relate. Select the dataset you want; you can still fine-tune the exact fields later.

  • Each dataset has a short description of what it contains. Use the search box to find a dataset, attribute, or metric by name.
  • The panel on the right previews the selected dataset's fields. For each field you can see its data type, whether it holds sensitive data (personal fields such as name or email are flagged), and which other datasets it links to, so you can see how the datasets relate.

3. Choose the account

This step selects what Dataddo reads from.

  • Authorizer: Select an account you have already authorized from the drop-down. If you have none yet, choose Add new account and follow the prompts. If no authorizer is selected, Dataddo asks you to authorize before you continue.
  • What to extract from: Select the exact entity you want to pull data from. Depending on the service this may be labelled an account, property, profile, workspace, or similar, sometimes with a sub-level to choose as well.
  • Multiple accounts: To pull the same data from every entity you can access, turn on Automatically collect data from all .... This is multi-account extraction. Leave it off to choose them by hand.

4. Refine the attributes and metrics

The dataset already sets the structure. Here you fine-tune it: tick or untick the specific attributes and metrics you want to keep, and use the search box to find a field quickly. Click Test on Sample Data at any point to preview the result before you continue.

5. Add metadata columns (optional)

Two optional columns help your destination handle the data.

  • Dataddo Hash (Include Row Hash): a fingerprint built from the columns you pick. It works as a natural key, so your destination can deduplicate rows and run upserts instead of creating duplicates. Turn it on, then select the columns that uniquely identify a row.
  • Dataddo Extraction Timestamp: the time each row was extracted. Use it to watermark the data, for example to build slowly changing dimensions or to track when a value last changed.

6. Set the schedule

Decide how often Dataddo runs the extraction.

  • Frequency: how often the pipeline runs, for example daily. Click Show advanced settings to also set the exact hour and minute (UTC).
  • Date range: the relative window each run extracts, for example "Yesterday". The window moves forward on every run.
  • Historical data: a new source starts from the current window. To load older data, run a full data re-sync after the source is created.
  • Allow Empty Data Extractions: when on, a run that returns no data records zero rows instead of failing. Turn it on if the source can legitimately have periods with no data.

Click Save. Your data source is ready.

Troubleshooting

Data Preview Unavailable

No data preview when you click on Test Data might be caused by an issue with your source configuration. The most common causes are:

  • Date range: Try a smaller date range. You can load the rest of your data afterward via manual data load.
  • Insufficient permissions: Please make sure your authorized account has at least admin-level permissions.

Authorization Error

When authorizing your service and creating your source, make sure that you the DC (data center) field matches the on in your MailChimp, otherwise you might get the following error INTERNAL_SERVER_ERROR.

You can find the DC in the first part of your MailChimp URL. E.g. If your URL is https://us1.admin.mailchimp.com/account/api/manage, then us1 is the name of your DC.

Related Articles

Now that you have successfully created a data source, see how you can connect your data to a dashboarding app or a data storage.

Sending Data to Dashboarding Apps

Sending Data to Data Storages

Other Resources