Google Analytics: Campaign Tracking

Google Analytics (GA) at its most basic is a tool that shows you where your website visitors came from.  For example, did someone come to your site by searching in Google search engine (Google organic search) or a Google Ad on the search engine results page?

Out-of-the-box, Google Analytics is able to show you when a site visitor has come to your site via organic search, a click on a link from another website, a social media channel or if the user has typed the name of the site directly.

This is great and highly useful, but what if you wish to track something like a monthly email Newsletter.  How is GA going to be able to distinguish this channel from any other? The answer is that we need to add some text to the end of our links.

Imagine we have setup a monthly email Newsletter.  We want Google Analytics to tell us if anyone clicks a link from that email and lands on our site. To do this we need to use a special tool created by Google called the Campaign URL Builder which can be found here – https://ga-dev-tools.appspot.com/campaign-url-builder/.

The core information that the tool needs is:

  1. The URL of the web page you want to send the email traffic to. In this case I have used https://www.futureinsightanalytics.com
  2. The source of the campaign which in this case is ‘newsletter’
  3. The medium of the campaign which in this case is ‘email’
  4. The campaign name which I have called, ‘monthly July 2020’

The URL Builder will ask you to fill out some fields.

screenshot showing Google Analytics Campaign Tracking tool

Once you have done this, the tool will generate a link that you can use in your email Newsletter to link back to your site which will look similar to the below.

https://www.futureinsightanalytics.com/?utm_source=newsletter&utm_medium=email&utm_campaign=monthly%20july%202020

If you click on this link, you will be taken to the page https://www.futureinsightanalytics.com.  The extra information (e.g. utm_source) are the bits of information that GA needs to be able to track the campaign as you have requested.  They do not change the page that that the User lands on.

The link containing the extra information can be put into your monthly Newsletter email.  When someone clicks on this link and lands on the web page you sent them to, Google Analytics will know that it was this email campaign that sent people to your site.

You can test whether the link works by clicking the link yourself from a dummy version of the Newsletter email, and then viewing a report in Google Analytics called ‘Real-Time Reports’ and then by clicking ‘Traffic Sources’.  See below image.

screenshot of Google Analytics Real time report

Now you should be equipped to be able to track your campaigns using Google Analytics.

Leave a Reply