Author Archive

Don’t miss GAUGE – Google Analytics User Summit + Training Day in SF!

Friday, February 25th, 2011 by David Booth
Google Buzz

WebShare is proud to be presenting GAUGE 2011: the first two-day, for users, by users Google Analytics User Conference and Training Day along with Google Certified Partners VKI Studios, PublicInsite, E-Nor and Analytics Pros.

What: Google Analytics User Conference + Training Day
Where: Co-located with eMetrics Marketing Optimization Summit, San Francisco (Marriott Marquis)
When: March 17th & 18th, 2011
Discount: Discounts are available for all WebShare clients – please call your account manager for details

This two day event is filled to the brim with Google Analytics goodness:

If Google Analytics is a part of your business, then don’t miss this opportunity to:

  • Take your GA skills to the next level – everything from implementation and advanced analysis to marketing tracking and API visualizations will be covered! [full agenda]
  • Network with hundreds of other Google Analytics professionals and enthusiasts
  • Bump shoulders and discuss your issues with Google staff and Google Certified Partners
  • Pick your track and get trained up on Google Analytics from true certified experts & practitioners

Head over to http://www.gaugecon.com for more details or to register for this event…see you at GAUGE 2011!




David Booth
David is a co-founder and principal consultant at WebShare. You can find out more about David here.

See more posts by David Booth

Alphanumeric Phone Numbers Online

Tuesday, November 30th, 2010 by David Booth
Google Buzz

A guy walks into an airport bar and asks the bartender if he can just take a look at the phone.  ”You don’t want to make a call?”  ”Nope, just want to look at the phone.”  I know it sounds like the beginning of one, but this is not a joke, and I actually did this a while back.  Why?  Well, I needed to call Southwest Airlines to reschedule a flight – and I knew the number was 1-800 -I-FLY-SWA.  Which is great, except for the fact that at the time, I didn’t know how to figure out what numbers all those letters mapped to, and I was staring at a Blackberry dialpad full of numbers – not a letter in sight.

Fast forward a few years…

I spend a fair amount of time on airplanes, and every once in a while a past occupant of the seat I happen to be in leaves something interesting to look at between the all-electronics-better-be-off phase until 10,000 feet.  Recently, I picked up a copy of the in-flight duty free magazine and found this little gem:

image of macys alphanumeric phone number on duty free magazine page

See what’s going on here?  The person who scribbled this out on the in-flight magazine was desperately trying to figure out what the phone number for Macy’s shop by phone service was.  Yes, they knew it was “1-800-45-MACYS”, but without a phone that actually *has* the letters over the numbers of the dial pad, that phone number is pretty useless.  This person actually drew out a telephone dial pad and tried to put the letters where they thought they should be…and incorrectly at that (the “ABC” starts over the “2″, not the “1″).

Alphanumeric phone numbers are great in 30 second TV spots or 60 second radio ads – they’re easier to remember than a string of numbers, and since the ad will likely be over by the time you reach the telephone, these are helpful for getting the phone call response to the ad itself.  But if you’ve ever tried to actually call one, well, we all have to admit alphanumerics are just plain harder to dial than numbers.

The web is a different animal

If you’re looking at an ad or a website that entices you to call a phone number, it doesn’t just “end” after a matter of seconds.  You don’t have to engrain an alphanumeric phone number into someone’s head with a catchy jingle, because odds are they’re going to punch those numbers into the phone while those numbers are right in front of them…and it will be easier for them to dial without having to look for letters.

Perhaps the biggest advantage of abandoning alphanumeric phone numbers for your online marketing pursuits is that you can use either dedicated phone numbers or pools of phone numbers to track the performance of virtually any advertising campaigns you use to drive traffic or phone leads.  If a goal of your website or your online marketing strategy is to get your phone ringing, then you need to be able to source an offline conversion (like a phone call) back to the click, the ad, the keyword, the email, the site, the content, the version, or the campaign in order to focus your advertising dollars on profitable advertising efforts with measurable ROI.

Many phone tracking solutions out there integrate directly with your web analytics solution.  One very nice solution is Mongoose Metrics, which integrates with Google Analytics, Yahoo! Web Analytics, Omniture SiteCatalyst, WebTrends, Coremetrics, Unica, and more.  You can even use phone tracking with your conversion testing strategy – here’s a case study from a while back showing an integration between a phone tracking solution and Google Website Optimizer.

Summing it all up

Those easy-to-remember alphanumeric phone numbers do have their place, and they can provide some really nice advantages, especially in the offline world.  But online, not having to rely on a single, hard to dial number lets us gain so much from a measurability standpoint that you might want to think about leaving your alphanumerics off of your online initiatives.

So back to the in-flight magazine scribbles… even if Macy’s did eventually get that phone call, I’ll bet they’ll never know what ad campaign was responsible for it!

By the way, if YOU were the one who drew that picture in the airplane magazine, I’d love to hear from you in the comments ;-)




David Booth
David is a co-founder and principal consultant at WebShare. You can find out more about David here.

See more posts by David Booth

3 Ways to Deal with Google Preview visits in Google Analytics

Monday, November 22nd, 2010 by David Booth
Google Buzz

So you may have heard that this new Google Preview functionality on the search engine results page is skewing Google Analytics data. Well, as it turns out, the page fetching that Google is doing (and that occurs when the page preview is NOT in cache), actually IS executing Javascript, which includes the Google Analytics tracking code.

This means that Google Preview fetches are showing up as a visits in your Google Analytics account.

Automated (bot) visits like this can inflate your visit counts and artificially reduce all of your per-visit metrics (pageviews per visit, time on site, value per visit, etc…), which, if you didn’t know what was causing this, might leave you wondering if your traffic quality has suddenly dropped.

Now you could always just filter out all the traffic from Google as an ISP, but to really focus in on Google Preview, here are three different ways to deal with this issue until Google addresses this problem, which will hopefully be soon:

We’re working on a solution for this, to prevent Google Instant Preview on-demand fetches from executing Analytics JavaScript. I’m not sure about the timeframe, but I’ll drop a note here when I have more to share. Thanks for your patience. (11-18-2010)

Option 1: Advanced Segment

Once the tainted data has been processed in Google Analytics, there’s nothing we can do to reprocess it or change it.  But we CAN change the way we view the data through Advanced Segments.  All we need to do is take what we know about the traffic we want to single out within our reports and create a segment that matches it.

So, knowing that these sessions originate from a Service Provider called “google inc.” and that these will be short, single page visits, we could do something like this:

Google Analytics Advanced Segment to remove Google Preview visits

This segment (here’s the link to this segment) will allow you to see exactly which components in your reports are originating from a Service Provider of “google inc.” that have the conditions on a bot visit that we would expect.  Is it perfectly, 100% accurate?  Nope.  But it WILL give you a baseline to see how this might be affecting you.  We’ve found this to be a relatively small percentage of visits across accounts thus far…here’s an example:

sample Google Preview segmented visits

Option 2: Server Side with Custom Variable

While approximating this impact with an Advanced Segment may be the only way we can adjust past data, we can label these visits as Google Preview visits with custom variables as the data comes in.  This is much more accurate as it relies on the actual user agent that the Google Preview tool uses when fetching your pages:

Mozilla/5.0 (en-us) AppleWebKit/525.13 (KHTML, like Gecko; Google Web Preview) Version/3.1 Safari/525.13

So all we have to do is apply some simple logic…

if (the user agent is that of Google Preview) {
Set a Custom Variable to identify this visit
}

Easy enough. Here’s an example of what that might look like using PHP, but you can adapt this to any server side technology as needed:


<?php $uAgent=$_SERVER['HTTP_USER_AGENT'];
if(strpos($uAgent,"Google Web Preview")>0){
$googlePrev=true;
}
?>

...

<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-1111111-1");
<?php if($googlePrev){ ?>
pageTracker._setCustomVar(1,"googlePreview","true",2);
<?php } ?>
pageTracker._trackPageview();
</script>

There you have it. Now you’ll be able to see these visits in your Custom Variable reports, as well as create a more accurate Advanced Segment (click here for the link to it) based on this custom variable, and you can even access Custom Variables in your Custom Reports.

Option 3: Server Side Exclusion

You may just not care to see any of the visits generated by Google Preview at all and just filter them completely out of your data.  If that’s the case, we can use the same logic as we did in Option 2, but rather than set a custom variable, we’ll just never render the tracking code for the Google Preview user agent.

Again, you can do this with any server side technology, but here’s what that code might look like in PHP:


<?php $uAgent=$_SERVER['HTTP_USER_AGENT'];
$googlePrev=true;
if(strpos($uAgent,"Google Web Preview")>0){
$googlePrev=false;
}
?>

...

<?php if($googlePrev){ ?>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-1111111-1");
pageTracker._trackPageview();
</script>
<?php } ?>

With this option, the tracking code will never fire for the Google Preview user agent, meaning the data will never get sent back to Google and will thus be excluded entirely from your reports.

Hopefully one of these three options will help you adjust for the impact of Google Preview visits showing up in your Google Analytics reports, and please share your ideas, thoughts and other options in the comments!


UPDATE: As of Nov 22, 2010 at about 3:30p PT, this issue has been resolved by Google. Please note that data will NOT be reprocessed, so Option 1 above can help you sort out affected data for past date ranges.




David Booth
David is a co-founder and principal consultant at WebShare. You can find out more about David here.

See more posts by David Booth

Justin Cutroni / Jeff Gillis Interview at eMetrics

Tuesday, October 19th, 2010 by David Booth
Google Buzz

Daniel Waisberg of Conversion Journey interviews WebShare Director of Digital Intelligence Justin Cutroni and Google Analytics marketing guru Jeff Gillis at eMetrics Washington DC. Click the image below to head over to Online-Behavior.com to watch:


Justin Cutroni, Jeff Gillis, Daniel Waisberg interview at eMetrics

Watch Justin, Jeff & Daniel discuss tying web analytics in the enterprise, tying metrics to the bottom line, tag management, testing, the future of digital intelligence, and more.

Enjoy!




David Booth
David is a co-founder and principal consultant at WebShare. You can find out more about David here.

See more posts by David Booth

Google Website Optimizer Video Training at Lynda.com Released!

Thursday, September 30th, 2010 by David Booth
Google Buzz

Lynda.com video tutorial - Google Website Optimizer
After months and months of work and weeks in the recording studio with the wonderful team at lynda.com, the Google Website Optimizer: Essential Training online video course has been released!

View the Course at Lynda.com

This training takes users through nearly 4 hours of training and includes topics ranging from an overview of conversion testing to testing with dynamic content across multiple pages and domains. Here are some of the topics that made the final cut that I like the best:

  • Using tools like Google Analytics, ClickTale, KISS Metrics and more to find problems on your site that need testing
  • Planning your experiment from estimating sample size to understanding when to use A/B and Multivariate tests
  • The inner workings of Google Website Optimizer
  • Live demos (including the code) for both A/B and Multivariate tests
  • Interpreting the reports and taking the data farther
  • Integrating with Google Analytics to see impact on any metric or segment you’re tracking

Thanks to everyone who dedicated their time and resources to this project – it was truly a pleasure for all of us at WebShare to work with the Lynda.com team on this!

Below is the YouTube teaser, or if you’d like to see the full course you can find it at Lynda.com.




David Booth
David is a co-founder and principal consultant at WebShare. You can find out more about David here.

See more posts by David Booth

How do I track that little Facebook “Like” button in Google Analytics?

Friday, August 27th, 2010 by David Booth
Google Buzz

We get asked very often how to track Facebook “Like” buttons inside Google Analytics, so here’s a post that will show you how to do it.  There are basically three steps – first, you need to get the Like button on your pages using the XFBML / Javascript version of the Like Button.  Next, you’ll need to fire some Google Analytics code in a Facebook event that tells us when a successful “like” action has occurred.  Lastly, you need to find where it all ends up in Google Analytics and take action based on your new data!

1. Get a Facebook Like Button on your page(s)

The first step is to actually get a Facebook Like Button on your page. The quickest way to do this is to go here:

http://developers.facebook.com/docs/reference/plugins/like

Just fill out the form and click the “Get Code” button…you’ll see something like this pop up:

Tracking Facebook Like Buttons with Google Analytics

Now, you’ve got two options here. The iFrame version is admittedly the easiest to install, but unfortunately you don’t have any way to track when someone actually clicks and successfully “likes” your page as a result. There’s no onClick event you can use for an <iframe>, or for a <fb:> tag for that matter. And even if you could, the click itself doesn’t tell you if someone actually successfully liked your page or not – remember, they have to log into Facebook first, via a popup that might even be blocked in some browsers, so your click and Like counts may be very different.

So instead, we’re going to use the XFBML version (highlighted).

To implement this, you’re going to need to use the Facebook Javascript SDK – basically it works like this (and you can view the source of this page – you’re looking at a working example):

  • Update your <html> tag to include
  • xmlns:fb='http://developers.facebook.com/schema/' xmlns:og='http://opengraphprotocol.org/schema/'

  • Add the proper Open Graph Protocol meta tags – this is not necessarily required but a good thing to do.
  • Reference the Facebook Javascript library – we recommend you use the following asynchronous version (make sure to put your own App ID in there):

  • <div id="fb-root"></div>
    <script>
    window.fbAsyncInit = function() {
    FB.init({appId: 'INSERT YOUR APP ID HERE', status: true, cookie: true,
    xfbml: true});
    };

    (function() {
    var e = document.createElement('script'); e.async = true;
    e.src = document.location.protocol +
    '//connect.facebook.net/en_US/all.js';
    document.getElementById('fb-root').appendChild(e);
    }());
    </script>

  • Add the XFBML that you generated above (make sure to update it with your own page URL as the source and add any available attributes you might want) where you’d like your button to appear on your page:

  • <fb:like href="http://www.somesite.com/somepage"></fb:like>

2. Fire a Google Analytics Event when a “Like” action occurs

OK, at this point you’ve got your Like button up and running. Now in order to track these in Google Analytics, we’re going to use Event Tracking to fire an event whenever someone successfully Likes the page. You can choose to set this up in whatever hierarchy you like, but here’s one you might want to use:

Category: “facebook”
Action: “like”
Label: URL of the page that was “liked”

Using the _trackEvent() method of the pageTracker object, the Google Analytics javascript code would look like this:


pageTracker._trackEvent('facebook','like', href);

Note: This is the synchronous version of the Google Analytics code and assumes a javascript variable called href contains the URL of the page that’s being “liked”

So the last step in this process is to actually fire this code only when a successful Facebook like occurs. To do this, we’re going to subscribe to an event that Facebook exposes to us when the successful “like” action occurs. When we detect that event, we’ll fire our _trackEvent code. Here’s the code that will do it:


<script>
FB.Event.subscribe('edge.create', function(href, widget) {
pageTracker._trackEvent('facebook','like', href);
});
</script>

Note: The safest placement of this code is somewhere BELOW your standard Google Analytics tracking code – this will ensure that the pageTracker object has been defined before you try to use it

That’s it!  Feel free to get creative here…want to use a Custom Variable to create a segment of either visitors (scope = 1) or sessions (scope = 2) that “Liked” something?  Then all you would have to do is something like this (make sure your slot 1 is available and you want this at a visitor scope for the exact code below):


<script>
FB.Event.subscribe('edge.create', function(href, widget) {

pageTracker._setCustomVar(1,'facebookLiker','true',1);
pageTracker._trackEvent('facebook','like', href);
});
</script>

Want to stick this data into a database so you can use it for any number of customized reasons? Just fire some AJAX in there. Just about anything you can accomplish with Javascript can be done with each Like event.

3. Find that data in Google Analytics and USE it!

Now, you can log into your Google Analytics account and head over to the Content > Event Tracking reports and take a look at the Categories, Actions and Labels as you’ve defined them:

Event Tracking for Facebook Like Buttons in Google Analytics

Note that here we’ve drilled down to the Category of “facebook” and the action of “like” – now we’re looking at a list of the URL’s we passed in – or in our case the actual blog posts that people “liked.” They’re a bit ugly since they’ve been formatted for proper URL encoding, but hovering over the label itself will let you see the URL that was “liked” pretty clearly.

So what do we do with it?

Well, this is one more set of data that can be used to identify what content resonates with your user base.  Which are the popular themes of blogs?  Which are the authors that our visitors like the best?  Which topics do people like to read about?  We can look at the Site Usage tab right here to understand if people who like certain blog posts are any more engaged (think bounce rate, time on site, average pageviews per visit) than others.  We can look at our Ecommerce tab and find out if people who like certain pages are more or less likely to, say, sign up for one of our live Google Analytics or Website Optimizer Seminars for Success trainings.  With this knowledge, we can tailor the content that we write to the things that people like the best and the things that get people to engage with our site and convert on our goals.

And don’t forget about your Advanced Segments! Below you can see a quick Advanced Segment configuration that will quickly let you compare those Facebook Likers to any other segment of traffic you care to define:

Google Analytics Advanced Segment for Facebook Like Button users

Hope this helps a few of you out, and we’d love to hear how you’re using this in the comments!




David Booth
David is a co-founder and principal consultant at WebShare. You can find out more about David here.

See more posts by David Booth

Quick Reference – language codes for Google Analytics reports

Wednesday, August 18th, 2010 by David Booth
Google Buzz

Here’s a quick list of the language codes that Google Analytics uses in the Visitors > Languages report:

http://www.websharedesign.com/tools/google-analytics-language-codes/

While you might know most of the ones you routinely see in your reports, every once in a while it’s nice to have a quick reference handy for that one you don’t recognize or just aren’t sure of, so bookmark away!




David Booth
David is a co-founder and principal consultant at WebShare. You can find out more about David here.

See more posts by David Booth

Famous Clients

Wednesday, May 26th, 2010 by David Booth
Google Buzz


We’re proud to be able to work with incredible clients – the kind of folks that not only walk on the cutting edge of innovation, they define it.  As part of National Small Business Week, Ross Twiddy of Twiddy & Company will be on Capitol Hill telling the story of how a 32 year old business is leveraging the Google platform to fuel the kind of growth that has resulted in the $54 billion economic impact Google has just reported for 2009.

Twiddy uses AdWords to drive traffic to its site, where almost 900 of North Carolina’s Outer Banks vacation rentals are ready to be browsed and rented.  A comprehensive installation and the use of advanced features of Google Analytics collects the data needed to make both everyday and complex business decisions, and Google’s Website Optimizer conversion testing tool has been used to run experiments that provide an ever improving user experience and impact to the bottom line.

According to Ross, “Adwords has been an extremely powerful platform for our small business. WebShare has been instrumental in optimizing that traffic–Webshare’s strategy and advice is the supercharger for Adwords traffic.”

Well Ross, we’re proud to work with you, wish you well on Capitol Hill and congratulate you on your successes!

UPDATE 6/16: Twiddy getting some more coverage on the Official Google Analytics Blog!




David Booth
David is a co-founder and principal consultant at WebShare. You can find out more about David here.

See more posts by David Booth

The Newest Addition to the WebShare Team

Tuesday, April 6th, 2010 by David Booth
Google Buzz

Today we’re very excited to welcome the newest addition to the WebShare team: Justin Cutroni, Director of Digital Intelligence. Justin is a highly-respected thought leader in the world of web analytics, and with his experience added to the rest of our team, we expect WebShare’s industry-leading programs in web analytics and business intelligence to become even more effective.

Learn more about Justin by bookmarking his blog, and watch out for Justin at a Google Analytics seminar near you!

To learn more about the rest of the WebShare leadership team, feel free to review our team bios here. And to stay up to date with all of our latest analytics tips, tricks, and best practices, subscribe to our feed or follow us on Twitter!




David Booth
David is a co-founder and principal consultant at WebShare. You can find out more about David here.

See more posts by David Booth

New Google Analytics Features Announced at SES Today!

Monday, December 7th, 2009 by David Booth
Google Buzz

Fast on the footsteps of the feature announcements made at eMetrics in October, and just a week after the announcement of the new asynchronous tracking code, yet another set of announcements came today at SES Chicago. Here’s a brief recap:

Annotations:

We love this one, and after using it for a while, we can’t really remember the life of an analyst without it. Now you can leave notes in the top graph of your reports to explain what happened when, who did what, when that fantastic promotion was blasted out, and anything else you can dream up. Here’s a quick screenshot:
Google Analytics Annotations - new feature for taking notes in GA

Custom Variables now in Custom Reports & Advanced Segments:
Custom variables now in Custom Reports and Advanced Segments
Custom variables, announced just a little over a month ago, are now available for use in Custom Reports as well as Advanced Segments. This is great news since for most folks the announcement made in October meant that you could start collecting data for custom variables, but showing it in your reports was limited to just the standard Custom Variables reports that were rolled out in the weeks after the announcement.

Now, you can use your new custom variables to slice, dice, cut up and show in whatever context you like in custom reports, or define segments on the fly based on your custom variable definitions!

Google Analytics Setup Wizard

Sure, you can slap on the code and start collecting some data, but if you have some advanced installation situations (like crossing top level or subdomains, specific PHP considerations, alternate campaign tags, cases where Urchin is also being used, mobile application tracking, and more), how do you know how to change your code?.

Well, here’s a screenshot of some of the advanced situations where you can use the new Setup Wizard to help you generate customized Google Analytics Tracking Code (GATC), but remember, we always suggest reviewing this code and installation instructions to ensure that it’s going to accomplish exactly what you want it to:
Google Analytics new Setup Wizard

Google Analytics API Updates

There are a number of updates coming to the Google Analytics API, and we’re very excited to see all the ways people start using this new functionality. Here’s one we can share with you early:

Advanced Segmentation is now supported via the Google Analytics API!

Later this week, look for the official announcement of the full new set of updates to the Google Analytics API.




David Booth
David is a co-founder and principal consultant at WebShare. You can find out more about David here.

See more posts by David Booth