Web Analytics

Understanding Campaigns – RUGA Pt. 10

So last week I discussed referrers and mentioned that the utmr tag will be populated by the referrer unless there is a campaign variable to overwrite it. Today we’re going to look at campaign tags and their roles.

Campaign’s in Google Analytics are a fairly simple concept. When a visitor enters your site through a tagged link, the tracking code parses the link data and writes it into our old favorite, the utmz cookie – specifically into the utmccn, utmcmc, utmctr, and utmccd (and sometimes utmgclid) – and the utm.gif request.

Available tags are:  (source: Google Analytics Help)

Campaign Source (utm_source) – Required. Use utm_source to identify a search engine, newsletter name, or other source.

Example: utm_source=google

Campaign Medium (utm_medium) – Required. Use utm_medium to identify a medium such as email or cost-per- click.
Example: utm_medium=cpc

Campaign Term (utm_term) – Used for paid search. Use utm_term to note the keywords for this ad.
Example: utm_term=running+shoes

Campaign Content (utm_content) – Used for A/B testing and content-targeted ads. Use utm_content to differentiate ads or links that point to the same URL.
Examples: utm_content=logolink or utm_content=textlink

Campaign Name (utm_campaign) – Used for keyword analysis. Use utm_campaign to identify a specific product promotion or strategic campaign.
Example: utm_campaign=spring_sale

Fortunately for us, Google provides a URL building tool for those who would rather not much around with their URLs manually. It’s easy to use, though for larger campaigns you may want a campaign building spreadsheet. Fortunately for you Justin Cutroni has one over at his blog.

Tagging links literally just ads information to the URL, then forwards that information to the sites GA code, so there’s no need to fiddle with the GA back end. This also means that you can use them with any site that has GA on it, and it will show up in their analytics.

For instance, if we wanted to we could toss some variables into Youtube’s analytics with:

That would result in the following URL:

https://www.youtube.com/?utm_source=HEY_GUYS&utm_medium=HOW_ARE&utm_term=YOU&utm_content=DOIN&utm_campaign=LOVE_CP

Go ahead, click that URL. Send Youtube a message. (ed note: actually, upon inspection it looks like the youtube front page doesn’t use standard utm based Google analytics tracking. There are no signs of GA cookies or UTM.gif requests. Odd)

I’ll end this with the utm.gif. As always these variables write into the utm.gif request along with other relevant data. In this case some or all of the following:

  • utmcn = “utm_new_campaign (1)”
  • utmccn = Campaign Name
  • utmcmd = Campaign Medium (direct), (organic), (none)
  • utmcsr = Campaign Source
  • utmcct = Campaign Content
  • utmcid = Campaign ID
  • utmctm = Campaign Mode (0|1)
  • utmcto = Campaign Timeout

Here’s an example (using Cardinal Path, since it looks like Youtube wont work)

https://www.google-analytics.com/__utm.gif?utmwv=4.9.4
&utms=1
&utmn=1082105711
&utmhn=www.cardinalpath.com
&utme=8(author)9(cp_admin)
&utmcs=UTF-8
&utmsr=1680x1050
&utmsc=32-bit
&utmul=en-us
&utmje=1
&utmfl=10.3%20r181
&utmdt=Cardinal%20Path%20-%20Web%20Analytics%20and%20Data%20Driven%20Marketing%20
%7C%20Cardinal%20Path
&utmhid=1185577042
&utmr=-
&utmp=%2F%3Futm_source%3DHEY_GUYS%26utm_medium%3DHOW_ARE%26utm_term%3DYOU%26utm_content%3DDOIN%26utm_campaign%3DLOVE_CP
&utmac=UA-22022050-1
&utmcc=
 __utma%3D23120357.1797963222.1307118009.1307141433.1307145319.6%3B%2B
 __utmz%3D23120357.1307145319.6.2.
  utmcsr%3DHEY_GUYS
  %7Cutmccn%3DLOVE_CP
  %7Cutmcmd%3DHOW_ARE
  %7Cutmctr%3DYOU
  %7Cutmcct%3DDOIN%3B
&utmu=qR~
CP Marketing

Share
Published by
CP Marketing

Recent Posts

Optimizing user experiences with Digital Experience Analytics (DXA) platforms

As consumers become increasingly digitally savvy, and more and more brand touchpoints take place online,…

1 month ago

Enabling Value-Based Bidding with Google Tightlock

Marketers are on a constant journey to optimize the efficiency of paid search advertising. In…

2 months ago

Resolving “Unassigned” Traffic in GA4

Unassigned traffic in Google Analytics 4 (GA4) can be frustrating for data analysts to deal…

2 months ago

This website uses cookies.