VIP Customer Service

Advanced: Google Analytics

Advanced: Google Analytics

JangoMail’s integration with Google Analytics allows you to track website activity that results from JangoMail email campaigns using Google’s free Analytics tool. This feature allows you to determine precisely where a user moves throughout your website after having clicked a link to your site in an email. You can determine what pages your visitors are viewing most frequently, and you can also determine how successful your email campaigns are in converting mere visitors into purchasers on your website.

JangoMail’s integration with Google Analytics can be used by itself, or in conjunction with JangoMail’s own inherent website activity tracking feature. For the best results and most capabilities, it is recommended that you use JangoMail’s inherent activity tracking feature and Google Analytics together.

A comparison of JangoMail’s website activity tracking vs. using Google Analytics is provided below:

JangoMail's Website Activity Tracking JangoMail's Integration with Google Analytics
Requires a simple "img" tag on pages on your site you want tracked Requires Google Analytics JavaScript code to be placed on pages on your site you want tracked
Shows you page view data within JangoMail Reporting Must go to Google Analytics website to view data
Can be used to launch triggered email campaigns when recipient lands on particular web page Cannot be used to launch triggered email campaigns based on page views
No geotracking capabilities Geotracking capabilities shows visitors by region, using maps of the world
Data is presented in raw format, showing page visited, IP address, browser, and timestamp Deep analysis capabilities using searching, filtering, charts/graphs, path and funnel analysis

How do I use this feature?

There are three things you must do to track a visitor’s activity on your website:

  1. Create a free Google Analytics account directly with Google.
  2. Turn on Google Analytics in your JangoMail account. Go to Settings → TrackingGoogle Analytics Integration, and check the box to activate this feature.
  3. Place the JavaScript code provided by Google Analytics at the bottom of all web pages you want tracked.
  4. Enable click-tracking in your outbound mass emails.


Advanced settings for this feature

The following is a screenshot from the Google Analytics Variables tab in SettingsTrackingGoogle Analytics Integration. This page allows you to customize how JangoMail works with Google Analytics.

First, keep in mind that the checkbox for "Activate JangoMail / Google Analytics integration" is marked in order to activate Google Analytics with JangoMail. Checking this box will force JangoMail to append the four Google Analytics variables to the end of your destination URLs within your email campaigns. For more information on the variables that Google Analytics uses, see

JangoMail uses four out of the five available variables.

Secondly, the Domains box in the Procedure tab is set to an asterisk (*), which indicates that all domains will be tracked. If you want to designate specific domains to be tracked, then enter the full domains of the websites that you want tracked, one on each line, including the www. For example, if you want to track the website and, you would enter:


Lastly, on the Google Analytics Variables tab you can customize the four Google Analytics variables. These variables determine how the data presents itself within the Google Analytics screens. The substitution parameters you can use within all four variables are:

%%Subject%% (subject of your email campaign)
%%CampaignID%% (numeric JangoMail identifier for your campaign)
%%EmailAddress%% (recipient email address)

To access the JangoMail data within Google Analytics, log in to your Google Analytics account and go to Traffic Sources → SourcesCampaigns.

Then, you will see the JangoMail campaigns in the list of campaigns. By default, the campaign is labeled with your campaign’s Subject Line, followed by the JangoMail Campaign Identifier in parentheses:

You can customize how the name of the campaign appears by modifying the Campaign Name variable.

After clicking on a campaign, you can choose Traffic SourcesAd Content as a secondary dimension to view the recipient email addresses that visited your site. The individual email addresses show up in Google Analytics as variations of Ad Content. You can customize this view by modifying the Ad Content variable.

Lastly, you can customize how the Source and Medium appear within Google Analytics.

In summary, you can customize the four Google Analytics variables so that the data is presented within Google Analytics in the desired format.


What happens to my URL and what will my recipient see?

When click-tracking and Google Analytics is turned on in your account, this is what will happen to your URL.

You link to

You enable click-tracking, and your recipient clicks on:

Your recipient is eventually taken to and will see this in his browser’s address bar:

Notice that all four Google Analytics variables are present after the URL. Additionally, if you have turned on JangoMail’s inherent website activity tracking feature, additional variables will be appended:

In rare cases, some web servers are unable to handle unexpected variables appended to the URL, so be sure to test your web server to ensure that your pages display correctly with these appended values.



Google Analytics is a free and powerful website analysis and tracking tool. When used in conjunction with JangoMail, it allows you to gain deep insight into your campaign recipients’ behavior once they’ve left your email campaign and landed on your website. For the best of both worlds, set up JangoMail Website Activity Tracking as well!


Our goal is to help you build your brand, through campaign tracking, automation, website activity tracking, and more!