Posts Tagged ‘custom variables’

How to Measure the Effectiveness of Internal Campaigns

Published July 6th, 2011 Analytics 1 Comment

Part 1 – How to tag internal campaigns with Google Analytics

Nearly all websites have some type of internal campaign or banner ad on their homepage or other key pages.  Whether it is a homepage marquee or tout image boasting free shipping, 4th of July tent sale, free product demo, webcast signup, industry event, etc., all of these onsite banner ads or internal campaigns should be properly tagged, measured and analyzed to maximize the results and optimize your next promotion.  If SwellPath decided to promote Free Web Analytics Consulting services, we would certainly want to measure the effectiveness of this campaign to determine how many visitors want our services for free and how much revenue we were losing with each conversion.  After watching way too many episodes of Google Analytics TV with Avinash and Nick – you know you’re a nerd when… – I found that correctly tagging internal campaigns was a re-occurring topic and that lots of practitioners may be doing this incorrectly or are not sure of the best way to tag and track internal campaigns.

You may be thinking that you should use campaign tracking parameters to append your internal links and then you can view these in your campaign reports.  DO NOT DO THIS.  It is highly advised not to utilize this tracking method for internal campaigns.  You can cause problems (mixing) with your “true” campaign data by doing this and it is really not the proper use of campaign tracking parameters.  Here is an example of some bad advice in the Google Analytics help forum:


There are a few options for properly tagging your internal campaigns:  event tracking, custom variables or utilizing internal site search.

Using internal site search for campaign tracking works in a similar way as external campaign tracking.  The links would have to be appended with a query string (example: www.site-page.com/?itc=campaign-name&icd=campaign-details) and GA allows for 2 values to be passed through this method.  If you choose this option, it is ideal to setup a new profile specifically to capture this data.  This will help segment your actual site search data apart from this “fake” site search data.  All in all, this method takes a little back end setup and is using a feature in a way that is not its intended use.  Justin Cutroni has a good blog post on how to implement site search tracking if you want more details.

When tagging internal campaigns for our clients, we typically recommend event tracking, and in some cases, utilizing custom variables set at the visitor level.  Event tracking allows you to capture all clicks on your internal campaigns and offers more flexibility in your naming conventions by making use of the category, action and label values.  You can designate your internal campaigns with the category value, use the action value to differentiate banner location on the site and use the label for the creative details and in the example below, add in another positioning reference “R”.  One last element that you can place within the tag itself is the launch date of the internal campaign.  This is very helpful especially when you are making frequent changes.  Annotations in Google Analytics is another place you can note these changes.  Below is an example of an internal event tag for Free Web Analytics Consulting for SwellPath would be:

_gaq.push(['_trackEvent', 'Internal Campaigns', 'Homepage Tout', 'R - Free Web Analytics Consulting – May 2019 - 300x250']);

Depending on your unique business case, combining your internal campaigns with a visitor level custom variable can take this tracking a step further.  By relating a visitor to a specific campaign message and setting a custom variable at the visitor level, you can create a correlation with interest in your campaign to a purchase that may not occur within a single session.  The custom variable will reference a persistent cookie and thus will maintain that the visitor clicked on your campaign if they come back in a subsequent visit and convert.

When it comes time to implement the custom tagging for your internal campaigns, make sure you have your developer build the tags in a way that will dynamically pull in the campaign details into the label.  This will cut down on your development time and expenses if you have internal campaign placements that change frequently yet remain in consistent positions throughout your site.

Now that you have your internal campaigns tagged in the most ideal way, you can start collecting data and begin to analyze the effectiveness of your on-site marketing initiatives.  You will be capturing data on site position, page position, messaging and creative details.  What do you do with all this awesome data….?  My next post will shed some light on how to analyze the data and optimize your internal campaigns.

Check out Part 2 of How to Measure the Effectiveness of Internal Campaigns.

Google Analytics Changes are Big Business

Published November 12th, 2009 Analytics No Comments

If you don’t know already, Google Analytics rolled out some major changes to the platform on October 20th – changes that push Google further up the ladder as a potential solution for enterprises looking to easily obtain actionable data from their web analytics programs. These changes come almost a year-to-the-day after Google rolled out significant changes in 2008, including advanced segmentation and custom reporting. This year, the features allow for even more detailed segmentation of visitors, and more advanced data analysis. Here’s a quick list of this year’s new features:

  • 20 Goals (up from 4) per profile
  • Engagement goals – for example: a visitor viewed 10 pages in their visit
  • Expanded mobile reporting, even for non-JavaScript enabled devices
  • Advanced filtering of reports, based on metric or dimensional conditions
  • Advanced custom variable tracking - you can now track 5 custom variables instead of just 1
  • Algorithmic driven intelligence, and automated alerts to make use of this intelligence
  • Sharing of custom reports and custom segments

There are facets of these changes that are significant in-and-of-themselves, and some other minor changes, but these listed are the major ones. I’m going to cover a couple of them below, and how they impact various business types.

Additional Goals Per Profile & Engagement Goals

Additional Goals - Google Analytics

Being able to track only 4 goals in a profile was incredibly confining and forced many businesses to have to create multiple profiles simply for tracking more than 4 goals. This leads to even more complexity if you’re using special filter-specific profiles along with your main profile. If you have 4 goals, and you have special SEO tracking profiles setup, and you’re filtering traffic for a certain region for another profile, you have 3 profiles to analyze. Creating a fifth goal would push you to needing 3 new profiles, for a total of 6 to analyze now!

Needless to say, the additional goals save analysts a fair amount of time in more complex analtyics accounts. Now goals exist in 4 groups of 5. This allows for more liberal use of goals, for things like views of a single critical page. In the past, to save goals, analyzing this would have been done by simply looking at the unique pageviews for the page. Now it can be added as a goal and more robust data can be looked at in conjunction with it’s occurrence.

Google has now added engagement goals also; which allow a goal to be created based on how many pages a visitor consumes in a visit, or their time on the site. This is extremely helpful for content focused sites (blogs, news sites, etc.) or communities where engagement is critical gauging success.

These features are live and active in all Google Analytics accounts already; go try them out!

Advanced Custom Variable Tracking

Prior to this change, only one custom variable could be tracked for each visitor on the site. This meant that if you were running a community site, where you had many segments of members that you wanted to see the unique behavior for, you could only use this one variable. So, you could use it for “male” and “female”, but not for age. Or you could use it for “19-25″, “26-35″, “36-45″, etc., but not gender. One way around this was to submit values like “male_19-25″ and then filter them in the reporting. Not a great solution, but that is all in the past now. Google now lets you use up to 5 custom variables. So our community site could use one for age, one for gender, and still have 3 left to work with.

In addition to the added volume for custom variables, users can now decide if a custom variable is visitor based, or session or page based. So, you can set a custom parameter for the session based on any activity, like posting on a wall. This would allow you to segment all reporting by visitors who had posted on their wall during a session. But couldn’t you track this with a goal? Yes, there are a couple of other ways you could gather data for this segment, but custom variables allow you to do it without creating pageviews (trackPageview) or events (trackEvent), making reporting “cleaner” in many cases.

This feature isn’t rolled out yet, but Google says it will be in “coming weeks”. It is expected by the end of November at the latest.

These features I’ve highlighted, and the examples I’ve given really are only the tip of the iceberg for how Google Analytics can now be used to report on segments of visitors. The ability to collect more visitor specific custom data and analyze activity based on it has been looked as one of the major differences between an advanced analytics platform like Omniture, and Google Analytics. While still not as robust as Omniture’s offering in this department, Google’s is a major step in that direction, and far easier to implement and use. It is exciting to see Google continue to push the other vendors, and the field of analytics as a whole. Just as exciting is it for analysts such as myself to be able to gather far-more advanced data from an easy-to-use and fast reporting application. Kudos to Google for pushing the product to a new level.

Email Updates

Signup for our newsletter to keep up with the latest from the convenience of your inbox.

Connect with Us

Find SwellPath on the socialsphere and keep up with the latest news in our world.

  • Google Plus
  • LinkedIn
  • Twitter
  • Facebook

411 NW Park Avenue, Suite 400
Portland, OR 97209
(503) 224-9204
info@swellpath.com