Guides and Templates

Google Analytics campaign tracking code creator

A simple spreadsheet to help you create URL tracking codes more quickly

Why use this template?

At Smart Insights, we believe in using data-driven marketing to make your marketing activities work harder. You may have the best laid campaign plans in the world, but if you don't use granular tracking codes in your analytics you won't learn what works and what doesn't to improve for the future.

When consulting or training we find that many businesses don't fully track their inbound marketing activities, especially their content marketing where content is shared by email or social.

Google does have its own campaign URL tracking service on its developer site, but it only enables you to enter one channel or campaign at a time and you can't keep previous campaigns for reference.

Use this template and you will be able to:

  • Quickly generate Google Analytics tracking codes for each channel like email, social and display advertising
  • Choose from standard codes for each channel to save you having to type them each time and help keep them consistent
  • Standardise your campaign source codes for each campaigns to enable better comparison in Google Analytics
  • Track the impact of your whitepapers, brochure downloads or other PDFs by including links on the URLs in the PDF linking to your site

Here's an example tracking URL for a newsletter. The tracking code follows the landing page address after the '?' so is sometimes called the 'query string'. Google Analytics automatically parses each parameter which starts with &utm so you can see the results in Acquisition, Campaigns report in Google Analytics.

http://www.domainname.com/example_landing_page?utm_source=newsletter&utm_medium=email&utm_campaign=22062017&utm_term=hero_link&utm_content=tracker

Note that some email marketing packages and social media sharing tools automatically add these parameters in which case it may be best to use these. But in our experience these often don't give you the control you need.

Who is it for?

This spreadsheet is for 'hands-on' marketers agency-side and client side who are running campaigns, but looking to improve the quality of their reporting. Typical roles include:

  • Digital Marketing Executive
  • Campaign co-ordinator
  • Content marketing manager

Resource Details

  • Author: Pat Kelly, Senior Marketing Manager, Smart Insights
  • Format: Simple Google Sheets document. Can be saved as Microsoft Excel Spreadsheet if required. Separate worksheets for Read Me with instructions, autogenerated URLs and standard codes they are created from
  • Related resources: 7 Steps guide to improving marketing with Google Analytics – explains the principles of using Google Analytics campaign tracking.
Individual
Business

Individual or Business members get full access to this and 6 other guides in the Google Analytics Toolkit.

Learn more about membership Already an Individual or Business member?
Login here
Look Inside

Trusted by marketers all over the world

Since 2009 our toolkits have helped thousands of marketers in over 100 countries to hit - and exceed - their targets.
Will you be next?

...plus over 150,000 consultants, agencies, entrepreneurs and SMB's in over 100 countries.

Get better results

"A goldmine of digital information on digital marketing that can help you get better results"

Make your job easier

"I'd recommend signing up to Smart Insights for a suite of useful tools
from planning templates to strategy docs and a variety of other guides to make your job easier."

Tenfold improvement

It's my digital marketing go-to Bible Tenfold improvements in digital marketing results."

Learn more about Individual or business membership options
CLOSE