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:

http://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)

http://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~

Message Sent

Thank you for registering.

Cardinal Path hosted a live session to connect with you and answer all your questions on Google Analytics.
Get all the expertise and none of the consultancy fees in this not-to-be-missed, rapid-fire virtual event.

Thank you for submitting the form.

Thank you for submitting the form.

Message Sent

Thank you for registering.

Message Sent

Thank you for registering.

Message Sent

Thank you for registering.

Message Sent

Thank you for registering.

Message Sent

Thank you for registering.

Message Sent

Thank you for registering.

Message Sent

Thank you for registering.

Message Sent

Thank you for registering.

Message Sent

Thank you.

Click here to download access the tool.

Message Sent

Thank you for registering.

Message Sent

Thank you.

Message Sent

Thank you.

Message Sent

Thank you

Message Sent

Thank you

Message Sent

Thank you.

Message Sent

Thank you

Message Sent

Thank you.

Message Sent

Success!
Your message was received.

Thank you.

Thank you for registering.

Cardinal Path is continuing with its series of free training. Next we are conducting training on Google Data Studio. Check it out here.

Message Sent

Thank you for registering.

Thank you for your submission.

Your request has been submitted and a rep will reach out to you shortly.

Message Sent

Thank you for your interest.

Thank you for registering.

You should receive a confirmation email from GoToWebinar with your unique webinar login information. If you do not receive this email or have trouble logging in to the event, please email asmaa.mourad@cardinalpath.com.

Thank you for subscribing!

You're now looped into the world's largest GMP resource hub!

Thank you for your submission.

Thank you for your submission.

Thank you for your submission.

Thank you for your submission.

Message Sent

Thank you for registering.

Message Sent

Thank you for your submission.

Thank you for your submission.

Message Sent

Thank you for registering.

Thank you for registering.​

Paid media spend by Government websites increased a whopping 139% YoY in 2020.

2020 Online Behavior Live Dashboard

Message Sent

Thank you for registering.

Message Sent

Thank you for registering.

Message Sent

Thank you for registering.

2020 Online Behavior Live Dashboard

Thank you for your submission.

Message Sent

Thank you for registering.

Message Sent

Thank you for registering.

Message Sent

Thank you for registering.

Message Sent

Thank you for registering.

Message Sent

Success! Thank you
for reaching out.