Do you add tracking codes in URLs?
  v1.0 Posted at 27/04/2016 2:42 PM by Joanna Feely
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?


With the second URL you will get reports like this:

UTM codes let you track campaigns and referrers in Google Analytics

​Figure: The page owner will find out how people are getting to their page.

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 conversio​n 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)

Related rules

    Do you feel this rule needs an update?

    If you want to be notified when this rule is updated, please enter your email address:


    Note: Social Media login for Yotpo is not working in IE or Safari, please use Chrome. We are waiting for Yotpo to fix it.