Using the MailChimp Activity module we can allow site administrators to view activity and statistics for any Drupal account subscribed to our mailing list, or any entity for that matter. In our example we only have user accounts subscribed at the moment though.
Once enabled, and configured, the MailChimp Activity module will display a tab for each user account with details about what emails they have received and whether they have opened them or not. This is a subset of the data that MailChimp collects for us to help analyze the success of our campaigns. It's only a small portion of the data available, but it's nice to be able to see it right in Drupal. It also opens up the opportunity for content creators who have access to Drupal, but not MailChimp, to see how their email campaigns are performing.
In this tutorial we'll take a look at enabling the MailChimp Activity module, configuring it to display the information we want, and the permissions that it provides to determine who is allowed to view these statistics on your Drupal site.
By the end of this lesson you should be able to navigate to the "MailChimp Activity" tab for any user of your site and get a report of their actions on your mailing list.
Further your learning
- Why would you want to show a user's MailChimp activity in Drupal instead of MailChimp?
- What new permission(s) does the MailChimp Activity module add and what do they allow?
- Further exploration: What happens if you create a MailChimp Activity entity for a entity type + bundle that doesn't have a MailChimp Lists field attached?