Do you add tracking codes in URLs?

Last updated by Tiago Araújo [SSW] about 2 years ago.See history

Understanding and taking advantage of tracking codes on URLs is very important to working out where to spend your SEO efforts and $$$.

What is the difference in these 2 URLs?

  • thetrackr.com

...versus

  • thetrackr.com/bravo?utm_expid=98763450-11.FrU2vkRZTECb_wLuT78JGA.1&utm_source=facebookads&utm_medium=conversions&utm_campaign=AU_English_BravoOrderSuccess4LAL_AgeTargets&utm_referrer=http%3A%2F%2Fm.facebook.com#ab_test=b

With the second URL you will get reports like this:

UTM codes in google analytics
Figure: UTM codes let you track campaigns and referrers in Google Analytics

This enables the page owner to find out how visitors are finding the page. For example, if they're advertising ProductX on Google, and on Facebook, and in email blasts, all linking to the same page, they can customise the links from each of these pages with a unique tracking code. This code will identify the traffic that comes from that source, along with other useful information like which advertising campaign the traffic came from.

With the long URL, there's a lot of additional information that can be taken from the link:

  • utm - An Urchin Traffic Module (UTM) code is the way that businesses track sales from their origination point (like a tweet, email or a brochure) down the funnel to their conversion page.
  • expid – short for 'experiment id' , it relates to using Google Experiments, which is a way of testing different versions of pages to see which one converts the best
  • source - The source is where your link is hosted, like search, affiliate website or email campaign name or anywhere else.
  • medium – used to identify the medium the link was used upon such as: email, CPC, or other method of sharing.
  • campaign - The medium is how it's delivered, like a postcard, PPC, email or social media. The campaign is typically what you're promoting, or the special way you're promoting it (like a holiday sale).
  • referrer – this relates to the "expid" code earlier in the URL – it shows which variant of the a/b testing you were referred from (in this case, it is the "b" version of the experiment)
We open source. Powered by GitHub