Measure Online Advertising with Google Analytics

Posted By Justin Cutroni On 16th October 2007 @ 08:21 | 30 Comments

Category: Biz

Google Analytics is a free web analytics application that is quickly becoming one of the most widely used web analytics tools around. A common misconception that many people have is that GA can only be used to track Google AdWords. That’s simply not true. GA can be used to track any online marketing activity. And not only will Google Analytics track online marketing, it will also identify the conversion events that your online marketing creates.

There are two distinct steps to configure Google Analytics to successfully track online marketing activities:

  1. Tag your advertising links
  2. Create goals in Google Analytics

Before we can really get into how to track online marketing we must understand what we can track. With Google Analytics we can track 5 attributes of our online marketing campaigns. Each of these attributes provides insight into what is, and what is not, working, and are the foundation for making good decisions when adjusting your online marketing activities.

5 Aspects of Online Marketing

So now that we know what attributes of our online marketing we can track, how do we actually do it? We use a process called link tagging. Link tagging involves adding query string parameters to the destination URLs used in online ads. It doesn’t matter where the URL is used, it could be in an email, a banner ad or a paid search ad. If the URL has the appropriate query string parameters then Google Analytics can identify which ad the visitor clicked on. Once Google Analytics knows which ad the visitor responded to it stores the information in a cookie on the visitor’s machine. From that point forward, as long as the cookie exists, Google Analytics can connect the visitor’s actions with the originating ad.

We have one query string parameter for each campaign attribute.

Campaign Attribute

Query String Parameter

Campaign utm_campaign
Medium utm_medium
Source utm_source
Term utm_term
Content utm_content

All you need to do is assign a value to each parameter and attach it to the URL used in your online ad. What should you use for values? It doesn’t matter! Whatever you place in your parameters will be extracted by Google Analytics and appear in your reports. With that said, there are some best practices that will make your data easier to use.

  1. Avoid white spaces. Separate words with a dash or an underscore.
  2. Make sure that whoever is going to use the reports can understand the meaning of each value. For example, a value of ‘back-to-school-2007’ is easier to understand than ‘BTS07’.
  3. Be consistent. Create a naming convention for each parameter and stick to it. Don’t use CPC for some paid search mediums and PPC for others.
  4. Be aware that case matters. ‘CPC’ is different from ‘cpc’.
  5. Track your values from one campaign to another. I suggest using a spreadsheet to keep track of all the parameters you create. I like to use a Google Spreadsheet because it is easy to share with co-workers and clients. Add a column for each of the campaign parameters, a date column and a note column. If you’re savvy with a spreadsheet then use the CONCATENATE function to automatically create tagged URLs. You can find an example on my blog, Anyalytics Talk1.

How about some examples? Let’s look at a few links that will be used in our fictional back to school campaign.

Tagged Link What It Means
http://www.mysite.com/index.php?
utm_campaign=back-to-school-2007
&utm_medium=email&utm_source=fall-newsletter
This link was part of the 2007 back to school campaign. It appeared in the fall newsletter email blast.
http://www.mysite.com/index.php?
utm_campaign=back-to-school-2007
&utm_medium=banner&utm_source=facebook
&utm_content=800×100
This ad was part of the 2007 back to school campaign. It was an 800×100 pixel banner ad that appeared on Facebook.
http://www.mysite.com/index.php?
utm_campaign=back-to-school-2007
&utm_medium=banner&utm_source=facebook
&utm_content=60×300
This ad was part of the 2007 back to school campaign. It was a 60×300 pixel banner ad on the Facebook site.
http://www.mysite.com/index.php?
utm_campaign=back-to-school-2007
&utm_medium=cpc&utm_source=yahoo
This ad was part of the 2007 back to school campaign. It was a CPC ad on Yahoo!. The keyword was whatever Yahoo! passed to the browser.
http://www.mysite.com/index.php?
gclid=CLTrqPOc2o4CFSBMGgod7ljIAg
This ad was part of the 2007 back to school campaign. It was a CPC ad on Google AdWords.

The great thing about link tagging is that Google Analytics creates a report based on each parameter. For example, there is a Campaign report that identifies all the values in your utm_campaign parameter. You can then drill into the campaign to see which sources, identified by the utm_source variable, were better at driving traffic. I’ll discuss how to use these reports below.

Here’s another tip. If you’re unsure about your tagged links, run a small test. Send an email to 10 co-workers that includes a tagged link. Ask them all to click on the link. Wait a few hours and then log into Google Analytics. You should see data from the link in the email.

Once the tagged links are published Google Analytics will start collecting data.

I can’t stress how important it is to tag your links. It is the single most important step to tracking your online marketing. If your links are not tagged you won’t be able to track the traffic from your online marketing activities. Un-tagged links is one of the most common problems I see when working with clients.

A Note About Google AdWords

I just spent all that time explaining link tagging and now I’m going to tell you that you do not need to do it … sort of. Google Analytics is integrated with Google AdWords and one of the benefits is a feature called auto-tagging. Auto-tagging automatically adds a unique parameter to all of the destination URLs in your AdWords campaigns. There’s no need to go through the link tagging process, the unique parameter is used by Google to identify the ad that the visitor clicked on. Here’s an example of what an auto-tagged link looks like:

http://www.google.com.com/analytics/?gclid=CLTrqPOc2o4CFSBMGgod7ljIAg

Google Analytics decodes the unique parameter (named gclid) and creates the appropriate values for campaign, medium, source, term and content. The campaign will be the name of the campaign as defined in AdWords. The medium will be ‘cpc’ and the source will be ‘google’. Auto-tagging has a number of implications that you should take into consideration when tagging your non-AdWords links:

  1. As I mentioned above, Google will automatically apply a medium of ‘cpc’ to your AdWords campaigns. If you want all of your paid search data to appear together (which you do) then your non-AdWords paid search links must also have a medium of ’cpc’’. This will cause GA to group all paid search traffic together.
  2. The value for the content variable will be the name of the ad that you’ve created in AdWords. An ad with the title ‘Buy Widgets Now!’ will have a content value of ‘Buy Widgets Now!’.
  3. The campaign value will be the campaign name that you define in AdWords. If this campaign has multiple source or mediums you want to make sure that your manually tagged links have the same value for campaign.

Remember, auto-tagging only works for AdWords. You still need to tag other paid search URLs.

Goals

Another extremely important step in tracking the success of your online marketing is creating goals. Goals are outcomes that we want our site visitors to achieve. Every website has a purpose, it could be to sell a product, provide information to the visitor or generate a sales lead. Measuring these outcomes is vital to web analytics and evaluating the performance of online marketing. To measure an outcome we need to configure goals in Google Analytics.

Goals in Google Analytics are simply pageviews. To set up a goal you need to identify the page on your website that indicates that a visitor has reached the desired outcome. To create a goal simply navigate to the goal setting for a specific profile and paste the URL in the Goal URL field for a profile.

Goal Settings

There is more to setting up a goal. You could create a funnel to show the visitor’s path to the goal. But I’m not going to discuss advanced goal configuration here as I’m already pushing my word count limit. You can read more about goals and how they are configured in the Google Analytics help section or on my blog Analytics Talk2.

Once you create goals, and once you tag your links, Google Analytics will automatically identify which marketing activities are generating goals. There’s no special configuration necessary to connect goals to marketing activities. GA will do that for you.

Analyzing the Data

You’ve tagged all your advertising links. You’ve created your goals. Now what? It’s time to evaluate your online marketing campaigns. This is the fun part. As I mentioned above Google Analytics creates a report for each of the query parameters that we attach to the URLs in our ads. Each report provides valuable information about the traffic and conversions that the markting generated.

Let’s start with the campaign report. It provides a high level view of how the campaign is performing. Google Analytics provides some standard metrics indicating how much traffic the campaign is generating (visits), how engaged that traffic is (pageviews per visit and average time on site) and how good the campaign is at attracting new visitors (% new visits). Campaigns are usually focused on attracting new customers to the website (which should yield a high % of new visits) or getting existing customers to come back (which should yield a low % of new visits).

Site Usage tab

Remember, these numbers just tell us about the traffic. We also want to understand if the ad generated any conversions. To view these metrics we use the Goal Conversions tab.

Goal Conversion

You’ll notice that the columns of the table have changed. We now see conversion rates for the various goals that were configured. But let’s go a bit deeper. Each tagged advertising link has a campaign, a medium and a source. We can drill into each campaign and evaluate how well the various sources and mediums are working. First, click on a campaign in the Campaign column.

Goal Conversion: visits sent

We’re now looking at summary information for this campaign. I can use the Segment drop down box to view the sources and mediums associated with the campaign.

Goal Conversion: segment dropdown

You can see how I’m evaluating what drove the success of my campaign. Was it a particular partner (i.e source) or a particular medium (i.e mechanism of communicating with the customer)? Again, I can use the Site Usage tab to measure how well a source or medium does at generating traffic and the Goal Conversion tab to measure the conversions for each ad.

The analysis does not end here. There are other reports that help us compare the effectiveness of our marketing in other ways. One of my favorate reports is the All Traffic Sources reports. This report creates a master list of all of the sources and mediums that drove traffic to the site. This report is great for comparing ongoing marketing activities.

Site Usage tab

We can dig into each campaign even further using the Segmentation feature in Google Analytics. Let’s say we want to know where, geographically, our campaign visitors are located. I can select a campaign from the Campaigns reports and then use the segment dropdown box located at the top of he report.

If I choose ‘city’ Google Analytics will show me which cities generated the traffic for the campaign. This is particularly useful if you’re doing any geo-targeted advertising.

So there you have it. Remember, you must tag your links and create goals to accurately measure the performance of your online campaigns. If you do you’ll have really valuable data to when evaluating your online marketing activities.


Article printed from Vitamin Features: http://www.thinkvitamin.com/features

URL to article: http://www.thinkvitamin.com/features/biz/measure-online-advertising-with-google-analytics

URLs in this post:

Copyright © 2008 Carson Systems