Geo-location Marketing: Branding or Bribery?

November 23rd, 2010 by Heather Cooan
Google Buzz

Everyone is in a race to become Mayor of their local Starbucks on Foursquare these days. The geo-location phenomenon has been heating up as businesses offer badges, titles like Dutchess, Mayor, and Founder, coupons and deals in exchange for check-ins. All of which amount to incentive to cheat the system. Check-in applications like check.in are springing up, allowing users the ability to check in to multiple apps at once, and also making it easier for cheaters to prosper. Cheating, often in the form of drive by check-ins has become such a problem that FourSquare has recently added a feature that allows business owners to kick cheating Mayors out of office.

The stakes are rising; the latest trend in geo-location marketing is in rewarding users with more than just discounts and deals, but with anything from stickers to electronics and even cold hard cash. That’s right folks, the latest brainstorm from IZEA Innovation, the same company to bring us social media sponsorship applications like SocialSpark and SponsoredTweets has entered the geo-location space with WeReward.

WeReward launched at TechCrunch’s Disrupt earlier this year and allows users to earn cash for check-ins and tasks. Like other geo-location applications, WeReward loads a list of nearby businesses that users can check into. Each location has a number of points associated with it, users earn points as they check in and each point is worth $.01. Users can then cash out their accumulated points via PayPal.

Cash rewards for checking in and eating at my favorite restaurants, cool stuff right. But you’re probably wondering how this benefits business owners. Well these aren’t you’re usual vanilla check-ins. Users have to complete an action in order to claim their reward. Business owners just need to set the rules for the claim as something that requires a purchase.

Take Chick-Fil-A for example, they’ve set the rules for their claim as a picture of a user eating a spicy chicken sandwich or Chick-Fil-A nuggets. In order for the user to cash in on their points, they’ve got to buy one of these items and prove that they made the purchase.

I don’t need my favorite coffee shop to pay me a few pennies to keep my business, they’ve already snagged me, but I might try something new if I were rewarded in this manner. Can businesses really increase market share with bribery?

I think it’s worth a shot for many businesses, especially those in the restaurant space. I just hope those cheaters don’t start snapping pictures of me while I’m eating so they can get their $.40 without making a purchase!



3 Ways to Deal with Google Preview visits in Google Analytics

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

Intelligence Takes a Step Forward with Major Contributors

November 4th, 2010 by Nick Iyengar
Google Buzz

The Intelligence feature in Google Analytics was designed to streamline your analysis process by proactively highlighting important changes in your data. In addition to generating automated alerts for you, Intelligence allows you to create custom alerts based on changes to your site’s metrics, like bounce rate or total visits. For example, you can set up a custom alert so that if your site’s visits go up by 70% day-over-day, Intelligence sends you an email to let you know. This is a great way to stay on top of important trends on your site, but what Intelligence never provided was the why behind the change. You had the what, but it was up to you to manually review and segment your reports to find out the cause of the change.

Today, Google announced “Major Contributors” for custom alerts, which represents a major step forward for this feature. Now, when you’re reviewing your alerts, you’ll be able to drill down and see the specific segments of your traffic that caused the change. In other words, instead of simply being notified that traffic is up 70%, you’re going to be able to see which segments of your traffic drove the increase. Which traffic source? Which landing page? Which region? With the major contributors feature, you’ll get answers to these questions as soon as you know a change happened.

Seeing the drivers of change on your website automatically saves you time and effort, which you can instead spend planning your next steps. Reacting faster to important trends on your site will help you take advantage of opportunities and address potential problems. To get started with custom alerts, try using some of Google’s handy custom alert templates.

To stay on top of Google Analytics news and to receive more of our tips and tricks, subscribe to our feed and follow WebShare on Twitter.




Nick Iyengar
Nick is a senior analytics and web intelligence analyst with WebShare. You can find out more about Nick here.

See more posts by Nick Iyengar

Page Speed Tips – Part I

October 21st, 2010 by David Evans
Google Buzz

Search engines are continually improving their methods for determining which websites and advertisements gets ranked and placed higher than others. We know now that Google has added new ranking factors in both their search results and AdWords quality scores for page load times. While not (yet) a major factor, it is essential that your website teams make every effort to give your site every edge it needs to succeed.

In this segment of “Page Speed Tips”, part one focuses on the use of content delivery networks (CDN) for serving various data, script and/or visual elements from somewhere other than your own web server.

What is a Content Delivery Network (CDN)?

Simply put, it is a large network of servers, located in various geographical locations (generally worldwide) that contain copies of any files that you store with them.  In turn, any user that visits your site will receive this content from the closest instance of a CDN server.

This is an example of how Akamai’s CDN is configured (image source: technofriends.in)

How does this benefit (and speed up) my site?

The primary benefit is that by serving files, such as images, javascript and css from an external source, your server will have less load against it which leads to an overall improvement in site performance.  Secondly, the content being delivered by the closest CDN is likely to arrive quicker than if were to come directly from your (most likely) single location site.  Lastly, search engines who crawl your site are still able to index your content for search results.

Can I trust my data to a CDN?

There are many CDN providers that exist today and more are continuing to enter the market.  The simple answer is: Maybe.  You need to find the right CDN for your site and weigh the pros and cons of cost versus service.  A good CDN provider will have an impressive network of highly-optimized and highly available servers that provide solid, uninterrupted service and reliability.  Bottom line is that if you choose a reputable CDN provider, you can count on them to make your data and files available.

How much is this going to cost me?

There are two costs at play here: The actual monetary cost of the service and the opportunity cost of missing out on the benefits of using a CDN.  This market is becoming more and more competitive, so costs are beginning to fall and setup, management and rich features are constantly improving. While you can expect prices to start at just a few hundred dollars each month, consider the opportunity costs and understand the rich benefits you are gaining when making this decision.

Additional concerns?

One concern with having content spread across the internet is getting dinged for having duplicate content.  In the case of a CDN, these are not configured as domains and are therefore not visible to search bots, such as “Googlebot”.  The relationship between your site and the closest CDN remains transparent to human users as well as bots.

Which CDN provider should I choose?

We’re not going to promote any specific provider here, so you need to do your homework.  Your particular situation is going to be unique, make sure the provider you select satisfies all of your

requirements.

How can I learn more about improving my page speed?

Google Web Page Performance Best Practices

Yahoo! Website Exceptional Performance Best Practices

Recommended Firefox Plug-ins

Google Page Speed

Yahoo! YSlow




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

Justin Cutroni / Jeff Gillis Interview at eMetrics

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!

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

Google’s New Keyword Tool is Out of Beta

September 27th, 2010 by Mike Small
Google Buzz

An updated AdWords keyword tool has been in beta for some time now.  If you were used to linking back to the previous version you may have noticed that link has been removed coinciding with Google’s announcement that The Keyword Tool is officially out of beta.  This one tool replaces both the original keyword tool and the Search-based Keyword Tool.

Google states that The Keyword Tool combines the best of both the previous tools.  Some of its features include:

  • The option to search by keywords, URLs or a combination of the two
  • Multiple ways to filter and sort the results
  • The option to view mobile search, ad share and search share data

Finally the way in which Global Monthly Searches and Local Monthly Searches are calculated has been updated.  In the past the data was from both google.com and Google search partners.  With the new tool it is only based on google.com search traffic.




Mike Small
Mike Small leads the SEM and paid search efforts at WebShare. You can find out more about Mike here.

See more posts by Mike Small

Google Analytics Adds Weighted Sort

August 28th, 2010 by Nick Iyengar
Google Buzz

The stream of new Google Analytics features coming out of the Googleplex continues, and that’s what we like. Recently Google announced a helpful feature called Weighted Sort, which helps efficiently surface actionable data while helping you avoid meaningless outliers.

One of the innate issues with using ratio-based metrics (bounce rate, conversion rate, etc.) is that when you sort, you return all of the outliers – the 100%’s and 0%’s, even when the sample size is tiny. Let’s say you want to figure out which AdWords keywords have high bounce rates, so you can adjust your bidding, landing pages, etc. Sorting by bounce rate, you’ll get something like this:

Of course, this isn’t what you were trying to do. What you actually want to know is: which keywords most need the most optimization attention? In the past, you would have had to manually create an advanced filter to specify that all returned results have more than X number of visits. That works fine, but it takes more effort, and we don’t like that.

Now, we can simply check the “Weighted Sort” button and – voilà - Google’s new sorting algorithm automatically surfaces the most significant results!

That’s really all there is to it. A couple of things to keep in mind:

  • You can use weighted sorts on other metrics, too: conversion rate, exit rate, % new visits, etc.
  • You’ll notice that the entries in your table are no longer strictly in order. Of course, that’s because you’re no longer sorting based only on the metric – you’ve asked Google to take other factors, like sample size, into account.

Questions? Cool use cases? Leave them in the comments for us, and for more tips, tricks, and updates, don’t forget to subscribe to our feed and follow us on Twitter!




Nick Iyengar
Nick is a senior analytics and web intelligence analyst with WebShare. You can find out more about Nick here.

See more posts by Nick Iyengar

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

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

Google AdWords Extensions Extended Again

August 27th, 2010 by Mike Small
Google Buzz

You may have seen seller rating extensions like these in some Google AdWords sponsored links lately. Note they are a little different depending on whether they show in the top of the page sponsored links or on the right.

Seller Rating Extensions

Seller Rating Extensions

This is the newest ad extension available to AdWords advertisers. If an online store is rated in Google Product Search, with 4 or more stars and at least 30 reviews, seller ratings can be associated with its AdWords ads. These ratings will show up automatically if the above requirements are met and there is no set up involved.

As of now this feature is in limited release but is being rolled out to all eligible accounts.




Mike Small
Mike Small leads the SEM and paid search efforts at WebShare. You can find out more about Mike here.

See more posts by Mike Small