This project is not covered by Drupal’s security advisory policy.

Automatically adds utm_source, utm_medium, utm_campaign, utm_term and utm_content query parameters to every URL in an email.

A UTM query parameters enable Google Analytics to tell you where searchers came from as well as what campaign directed them to you.

Requirements

This modules requires hook_mailkeys from Mail Editor to be implemented in modules. Example:

/**
 * Implements hook_mailkeys().
 */
function hook_mailkeys() {
  return array(
    'page_mail'         => t('Contact form message'),
    'page_copy'         => t('Contact form message copy'),
    'page_autoreply'    => t('Contact form message autoreply'),
    'user_mail'         => t('Contact user form message'),
    'user_copy'         => t('Contact user form message copy'),
  );
}
Supporting organizations: 

Project Information

Downloads