The Fresh Egg blog
Latest digital marketing news
As a simple definition, campaign tracking in Google Analytics (GA) allows you to consistently and effectively track the performance of your digital marketing campaigns. By using appropriate UTM parameters on your campaign URLs, you will easily be able to see how each campaign has performed against your digital marketing objectives within GA.
Campaign tracking isn’t a new thing for digital marketers. However, we’ve found that tagging consistently is not always as easy as it should be – particularly when multiple people from different teams have their own rules to follow.
That’s why we’ve created a free downloadable campaign tagging tool for you to use on your own website – to make consistent tagging as simple and quick as possible. We also offer Google Analytics and Google Tag Manager training courses to help you better utilise these platforms.
Read on to find out how to use the tool – and why you really need to.
In order to start tracking your campaigns in Google Analytics, you need to set the URLs to collect data for each specific campaign.
These URLs need to be amended for all campaigns that are directing traffic to your site, for example a Facebook advert, an email marketing campaign or a banner on another site.
This could result in a long list of individual campaigns that need to be created, which means a lot of time being spent creating tracked or tagged URLs, instead of analysing the performance of your campaigns.
As already mentioned, Fresh Egg has created a spreadsheet that will create a number of URLs for you at once, saving you precious time.
The tool will then act as a campaign log that keeps details of all your previously tracked campaigns. This will ensure consistency between teams and make it easy to copy a previously created link that is stored within the tool, rather than creating the same or similar link multiple times.
There are a few advisory rules to follow when tagging up campaigns, such as consistency and correct source and medium labelling. If you don’t follow these rules, the reports in GA won’t be accurate. This, at best, means more time spent analysing campaign data, and at worst, could mean losing out on campaign data altogether.
The following sections will be covered in this blog post:
A query parameter is an alphanumeric string on the end of a URL. One of the use cases may be to alter content within the page based on user input.
For example, by searching ‘campaign tagging’ on the Fresh Egg blog, the following URL is returned:
The URL shows a query string of ‘q=campaign+tagging’ where ‘q’ is the query parameter and ‘campaign+tagging’ is the query value.
A UTM parameter is a type of query parameter placed on the end of a campaign destination URL (i.e. the page on your site that you are directing users to with your campaign). UTM parameters allow GA to extract traffic volumes and behaviour relevant to a specific campaign. For example, if you’re running a Facebook promotion and use correct UTM parameters to track that campaign, you will be able to see what that promotion has delivered, such as sessions to your site, bounce rate of the landing page, goal conversion, etc.
UTM stands for Urchin Tracking Module, which is the format used by Google to extract data from the URL. UTM parameters placed on URLs do not alter the page itself, so shouldn’t affect the way in which your users interact with your website.
The standard UTM parameters used within GA are as follows:
Required parameter. This is used to identify the source of the campaign that is sending traffic to your site.
Example: If it’s a paid search or PPC campaign running via Google, then ‘google’ will be the source of the campaign, as it’s Google that will be sending the campaign traffic to your site.
Required parameter. This is used to identify the channel that the campaign is sending traffic through.
Example: If it’s a retargeting campaign, then ‘display’ will be the marketing channel associated with the campaign.
Required parameter. This is used to identify the specific campaign name, code or slogan that the campaign is associated with.
Example: This may refer to an email newsletter called ‘xmas_sale’ or ‘august_new_members’.
Optional parameter. This is mainly used for PPC campaigns to pick up the keyword associated with the campaign.
Example: If a user comes through a PPC campaign with the keyword ‘apple crumble’ then this should be the utm_term used.
Ad Content (utm_content)
Optional parameter. This is used to distinguish different versions of a campaign.
Example: You could be testing two different versions of a remarketing campaign. Here, you could use the definitions of ‘green advert’ or ‘yellow advert’, or stick to simple naming conventions like ‘version a’, ‘version ‘b’ , ‘version c’ etc.
For each campaign that you want to track, you will need to identify the required UTM parameters and any optional parameters you might find useful in the campaign analysis. All of the following URLs have been correctly tagged with campaign tracking:
Lesson: There are five different terms that can be assigned to a campaign to distinguish it; three of these are required.
It is really important to tag campaigns correctly and consistently, otherwise the data collected within GA will be difficult to analyse accurately. Incorrectly tagged campaigns could also prevent campaign data from being collected at all. To ensure consistency, there are few ground rules to follow:
Here are some examples of poor or incorrect campaign tagging we frequently encounter:
Lesson: Make sure you always tag campaigns correctly to avoid messy reports or losing tracking of the campaign altogether.
To help make tagging your campaigns easier, we have created an Excel spreadsheet that adds UTM parameters to your campaign URLs. Download the resource now.
The tool can also be used for bulk tagging URLs, for example if you have different links on an email or a number of different keywords for the same campaign.
The Excel sheet contains instructions on how to input your specific campaign parameters to create a tagged URL that will be tracked in GA. All you need to do is go onto the main ‘Campaign tagging tool’ tab and enter the four mandatory fields:
After creating a tagged URL, it’s important to check that your campaign tracking is working correctly.
Example: You have created a tracked URL for the Google Merchandise Store homepage (www.googlemerchandisestore.com) using the Fresh Egg campaign tagging tool.
The parameters are as follows:
The URL would look like this: https://www.googlemerchandisestore.com/?utm_source=newsletter&utm_medium=email&utm_campaign=campaign_tagging_tool
There are two recommended ways to check that a URL has been tagged correctly:
Using a GA view that includes your internal traffic (a backup view that contains no filters) is an easy way to check if you have tagged up a URL correctly with campaign parameters.
After visiting the site through the tagged URL (you can simply paste it into your browser and hit enter), the GA ‘Real Time’ report will show your tagged visit live on the site. Use the ‘Traffic Sources’ report check whether your source, medium and campaign terms have all come through to GA correctly.
The ‘email’ medium and ‘newsletter’ source appear in the ‘Traffic Sources’ section of the ‘Real Time’ report. Clicking on any medium (‘email’ in this case) will allow you to drill the report further by campaign name.
If you are working on a high traffic website, spotting your own campaign visit can be challenging. So, instead of using the backup view, it may be quicker to create a test view that includes traffic from your IP address only.
Watch this video to see how tagged campaigns were checked using Google Analytics on the Google Merchandise Store:
Google Tag Assistant (GTA) is a free Chrome plug-in (by Google) that checks Google tags and tracking on a site. Here at Fresh Egg, we use it a lot to debug tracking implementations for site audits but also to test our own campaign URLs.
After installing GTA, you need to open up a new page within Chrome and hit the ‘Record’ button at the bottom of the console. This will allow GTA to track the activity from the point of using the tagged URL.
You should then visit your site using the tagged URL that you want to test while GTA is recording your activity. As soon as you reach the site with the tracking being tested, you can then hit the ‘STOP’ button.
In order to verify that the campaign tracking has worked correctly you need to then look at the data that GTA has collected based on your visit. To do this, click the ‘Show Full Report’ button on the GTA console.
This will bring you to the data report of your visit to the site you are testing. After clicking the ‘Google Analytics Report’ tab at the top of the page, you will be faced with all of the data that was collected throughout your visit. Under ‘Views summary’, there are a number of separate reports. The ‘Acquisition’ report gives details on how you reached the site. If you have tagged your campaign correctly, you will see the correct source, medium and campaign names as assigned by you.
Watch this video to see how tagged campaigns were checked using GTA on the Google Merchandise Store:
Lesson: It’s always important to check your tracking works correctly using either Google Tag Assistant or a backup view in Google Analytics – there’s nothing worse than not having any data collected for a campaign that you have launched and not being able to analyse the campaign.
Now you know how to use the tool, all that’s left to do is download and start using it!
Download our campaign tagging tool for free.
Now you know how to set up and test campaign tracking, how are you going to analyse the data collected from this?
Read our blog post - How to Use Google Analytics Campaign Tracking to Measure and Improve Your Digital Marketing Success – to find out how we use campaign tracking in GA to track and measure the performance of campaigns against business objectives.