WebShare is now Cardinal Path! www.CardinalPath.com
Learn more about Cardinal Path
Contact Us
Get an RSS feed of WebShare's blog
RSS Feed
Follow WebShare on Twitter!
Follow WebShare on Twitter
WebShare's Search and Conversion Marketing Newsletter
Email Newsletter

Search & Conversion Marketing Blog

Welcome to our blog! Here you'll find posts on the topics of web design & traffic acquisition, paid and organic search strategies, analytics & business intelligence, conversion testing, interviews, videos and more. We hope you find it useful, and invite you to read, share, subscribe, leave a comment, or just have a look at what's here.

Tag Your Tweets and Track Your Social Campaigns in Google Analytics

Wednesday, February 17th, 2010 by David Evans
Google Buzz

Businesses and individuals who use social tools, such as Twitter, Facebook, Blogs and YouTube, to reach their audiences are on the cutting edge of social media.  What started as a simple conversation tool for individuals, social media has become a viable marketing tool for companies of all sizes.  As such, it is imperative that organizations track the effectiveness of their marketing efforts.  Unless you’re particularly savvy, promoting a sale or event by tweeting a link back to your site doesn’t give you an opportunity to properly credit the tweet as the source of any business.

Google AdWords does a thorough job tagging each paid campaign for Google Analytics to track and report the success of your advertisements, but what about Twitter, Facebook or Blog posts?

Enter the concept of campaign tagging for social media.

WebShare has a Social Media Tagging Tool that will do this for you, but if you want to know more about how and why to do this, read on…

Google Analytics has five “Traffic Source” dimensions for the purpose of tracking campaign traffic: Source, Medium, Campaign, Ad Content and Keyword.  In AdWords, for example, the source is “google” and the medium is “cpc”.  The campaign is the AdWords campaign name, the Ad Content is the headline of the ad and the Keyword is the word or phrase entered by a user to find your ad.  For the purpose of tracking social media traffic, we can utilize these dimensions in a similar fashion.

Tagging your social media blasts involves appending GA tags to your URL.  And while this can cause a lengthy URL, we further recommend using one of the many URL shortening mediums out there (e.g. bit.ly, j.mp, awe.sm).

There are three required variables in order for your tagging to succeed:

1. Source
2. Medium
3. Campaign

The two remaining variables are optional and are referred to as:

4. Content
5. Term

NOTE: In Google Analytics, “Content” translates to “Ad Content” and “Term” translates to “Keyword”

For social campaigns, we recommend using the following scheme:

Source: “twitter”, “facebook” or “blog”
Medium: “social”
Campaign: A top-level category that describes the purpose of your social blast, e.g. “SeminarsForSuccess”
Content: (optional) If anything, use this field to further describe the campaign, e.g. “FEB2010″ to define which seminar you are promoting
Term: (optional) You could use this value to further define the content, e.g. “LasVegas” to describe the location of the FEB 2010 Seminar.

Honestly, there aren’t many cases out there where including “Content” and “Term” are that necessary as you could just as easily call the campaign (in the above example), “SeminarsForSuccessFEB2010-LasVegas”.  In Google Analytics, there isn’t an intuitive way to view the granularity of all five campaign tags.

How do you tag your URL?

Tagging your URL is accomplished by adding specific campaign tagging values (as query string parameters) to the URL you want people to visit. The exact parameters (respectively) for Source, Medium, Campaign, Content and Term are:

1. utm_source
2. utm_medium
3. utm_campaign
4. utm_content
5. utm_term

Again, these will be query string parameters and must be appended to the URL properly so they allow the user to end up on the intended page and cause GA to consume the parameters.  Easier said than done.

Let’s say, for example, you want your clients to visit http://seminars.websharedesign.com.  By itself, this is a valid URL, but it is NOT tagged.  A tagged version of the same URL might look like this: http://seminars.websharedesign.com?utm_source=twitter&utm_medium=social&utm_campaign=SeminarsForSuccessFEB2010-LasVegas.

In Google Analytics, you will see traffic for this link in your Traffic Sources > All Traffic Sources report. Initially, this will show you all traffic by source and medium:

View traffic by campaign Source and Medium in Google Analytics

HINT: If you wish to reduce the list to look only at “x / social” traffic, you may want to filter the list by entering “/ social$” in the filter and click “Go”.

Filter results in Google Analytics with Regular Expressions

Next, you should customize the report to include the campaign information.  Just select the “None” drop down list (which is next to the “Source/Medium” heading of the report table) and select “Campaign” from the list.  This will add the campaign value to the report and you will see stats for each social media blast you sent out.

Add Campaign to the Source and Medium report for better tracking data of your social media blasts

Now you can see that our tweet for the Las Vegas Seminars for Success in February 2010, successfully generated 1,039 visits to our site!




David Evans
David heads up software and web design efforts at WebShare. You can find out more about David here.

See more posts by David Evans

6 Responses to “Tag Your Tweets and Track Your Social Campaigns in Google Analytics”

  1. Courtney says:

    Great tool that is a little easier for the masses than Google’s URL linkbuilder!

  2. Travis Zangl says:

    Can I Quote you on my Website http://www.webseiten-melder.de ? Its all about SEO and Google and suchstuff.

  3. Wonderful tool that is a modest easier for the lots than Google’s URL linkbuilder! I like this tool and recommend to other for join here to know more about this tool.

  4. Chad says:

    Can I track ‘utm_content’ in Analytics?

  5. admin says:

    Sure…the “utm_content” query string parameter shows up in “Ad Content” in the GA interface.

  6. Great tool that is a little easier for the masses than Google’s URL linkbuilder!)))

Leave a Reply



WebShare is a Google Analytics Authorized Consultancy
WebShare is a Google Website Optimizer Authorized Consultancy
WebShare is a Google Adwords Qualified Company
WebShare is a Google Analytics Seminar Leader
WebShare is a Google Website Optimizer Seminar Leader
WebShare is a Google Urchin Authorized Consultant
WebShare is a proud memeber of the Web Analytics Association
WebShare is a Microsoft AdExcellence Member
WebShare is a Yahoo Search Marketing Ambassador

© 2006-2012 WebShare, LLC. All Rights Reserved.
Sitemap