Перейти к основному содержимому Перейти к дополнительному содержимому

MailChimp V2

The Qlik MailChimp Connector uses the MailChimp API to access your MailChimp email activity and marketing campaign data.

Ways to access your data

To access your MailChimp data, you need to authenticate the connector with your MailChimp API key. MailChimp users who have Manager permissions can generate API keys and users with Admin permissions can view API keys.

Creating a data source connection

Loading data from tables

After you authenticate the connector with your account credentials, use the tables to fetch your data. Some tables are preconfigured to access a specific set of data while others let you create custom queries. The table below outlines some of the use cases for some of the tables that are available.

Tables that can be loaded Tables that can be loaded
Table Available in Description
UserInfo Редактор загрузки данных Returns user profile info.
Lists Диспетчер данных and Редактор загрузки данных Use this table to fetch the lists that are associated with your user account. The table returns the list IDs which are required for all other list tables.
List Диспетчер данных and Редактор загрузки данных Returns members of a list and all of their associated details.
ListGrowthHistory Диспетчер данных and Редактор загрузки данных Returns a month-by-month summary of a specific list’s growth activity.
ListSegments Диспетчер данных and Редактор загрузки данных Retrieves information about all available segments for a specific list.
Campaigns Диспетчер данных and Редактор загрузки данных Use this table to fetch a list of campaigns and their details associated with your user account. The table returns the list of campaign IDs which are required for all other Campaign tables.
CampaignReport Диспетчер данных and Редактор загрузки данных Retrieves a specific campaign report.
CampaignClickReport Диспетчер данных and Редактор загрузки данных Get information about clicks on specific links in your MailChimp campaigns.
CampaignTimeSeriesReport Диспетчер данных and Редактор загрузки данных Get information about campaign time.
CampaignEmailActivityReport Диспетчер данных and Редактор загрузки данных Get a list of member's subscriber activity in a specific campaign.
MemberInfo Редактор загрузки данных Use this table to fetch data about members of a list. You need the list ID to run this table.

To select and load data from a table, enter the required table parameters and click Preview data. Required parameters are marked with an asterisk (*) in the dialog. The table fields are displayed under the Data preview tab. You can select fields individually by selecting the box beside each field name. Select Insert script after you have made your selection.

Creating a connection and selecting data

Table parameters

To run some of the tables, you need to enter specific table parameters, usually in the form of an object ID or an object name. You can find many of these parameters when you run other tables.

For example, to run the CampaignReport table you need the campaign ID. You can fetch the list of campaigns and campaign IDs associated wit the authenticated user's account by running the Campaigns table.

Working with the MailChimp API quota limits

The Веб-коннекторы Qlik use the MailChimp API 3.0 to extract data from MailChimp and load it into your Qlik Sense app. While reloading you MailChimp-based app, you might receive an error message that the connector has reached the MailChimp API rate limit and that all subsequent API calls will fail until the connector falls back under the throttling limit. If you receive this error message, then you have exceeded one of the API rate limits.

You receive an error message that you have reached the API rate limit

Reference - MailChimp developer documentation

You can refer to the MailChimp developer documentation to learn more about the requirements and restriction imposed by the MailChimp API 3.0.

Troubleshooting

You receive an error message that you have reached the API rate limit

Возможная причина

You have exceeded the API limits that are imposed on the Qlik Web Connectors by the MailChimp API.

Предлагаемые меры

To reduce the impact of reaching the API rate limits, develop your app with the following in mind:

  • Extract only the data you need.
  • Reload one MailChimp-based application at a time.
  • Ensure that loops in your script that make API calls will not result in infinite loops.

You receive an error message when running a Campaigns table

Возможная причина

If you see the following error message: DOMException: Invalid Character Error with Campaigns Table

It is being thrown from the MailChimp API and not from the Qlik MailChimp Connector.

Предлагаемые меры

We recommend that you contact MailChimp support or consult the MailChimp API documentation.

Помогла ли вам эта страница?

Если вы обнаружили какую-либо проблему на этой странице и с ее содержанием — будь то опечатка, пропущенный шаг или техническая ошибка, сообщите нам об этом, чтобы мы смогли ее исправить!