Tracking eCommerce metrics for email with MailChimp, Drupal Commerce and Google Analytics
Knowing how your email communication performs in terms of ROI can say a lot about whether or not your message resonates with your target audience. Measuring how your email campaigns perform in terms of eCommerce can benefit both you and your customer as you'll learn from these metrics how to be better at providing what your customer wants.
This tutorial shows you how to configure Drupal Commerce and MailChimp to enable you to view Drupal Commerce order related Google Analytics information from within your MailChimp account. Think about these valuable metrics: MailChimp campaign ROI, conversion rate, revenue created, bounce rate, average value per visitor, goals completed, ecommerce transactions, device based metrics - it's all possible for your Drupal Commerce store.
Configure Commerce Google Analytics module
First you need to send your Drupal Commerce order data to Google Analytics. Learn how to do that in this tutorial about configuring the Drupal Commerce Google Analytics module.
Configure MailChimp Analytics360
We need to connect your Google Analytics account to your MailChimp account. MailChimp made that possible with their Analytics360 module. Note that this is not a Drupal module - it's a module on the MailChimp platform. Educate yourself on what Analytics360 is with this video. MailChimp also has a comprehensive tutorial about enabling Analytics360 in your MailChimp account in their tutorial on how to use Google Analytics with MailChimp.
Check the Reports
Make sure everything works like you want it to. Check if Google Analytics data is showing up in the MailChimp reports. You can find them in your MailChimp account at Reports -> [click a campaign title] -> Advanced Reports. An example of what that report looks like is shown below. I called the email campaign 'Test 1 for Dev1'.
It can take a while before MailChimp can aggregate the ecommerce data from Google Analytics (24-48 hours).
Commerce MailChimp module not required
Tracking MailChimp campaign ROI with Drupal Commerce doesn't require you to configure MailChimp Module or Commerce MailChimp module. However if you like to be able to segment a MailChimp email campaign based on Drupal Commerce purchase activity you should configure them. Learn about how to do 'magic' with MailChimp and Drupal Commerce with these tutorials.
Category: