Thursday, December 1, 2011

16 Powerful Google Analytics Features

Google Analytics is much more robust than most people give it credit for. Contrary to popular belief, it can do most of the things more advanced analytics suites can do, except Google does it for free.
Many web designers and developers complain about the limitations of Google Analytics. At first glance, it doesn’t seem as powerful as some of the other web analytics suites out there because it doesn’t let you track outbound links or see data in real time. So, developers flock to premium products like Clicky and Mint, but those services can be expensive, especially if your web project isn’t generating any income yet. Also, while they fix some of the limitations inherent in Google Analytics, they lack some of the Google-only tie-in features, such as Adwords and Adsense tracking.
ga front page 6 Powerful Google Analytics Features
For those of you who don’t know, Google Analytics is a web statistics service that allows you to see how many people visit your site, what pages they go to, and where they are coming from. It’s a free service, and it works by sticking a piece of Javascript in your HTML code that loads when someone visits your page.
But, that only scratches the surface: it also allows you to create specific campaigns, goals, funnels, and reports that builds actionable data-sets and provides key insight into otherwise nebulous data. Most people have analytics set up, but a lot of them fail to dig into the data and miss golden opportunities to optimize their site. Every time you change the copy, structure, or design of your website, your web analytics suite will tell you what you should change (and whether you should make any changes in the first place). By using the advanced features in Google Analytics, not only will you obliterate most of the reasons for paying for another analytics service, but you will understand your audience and your website in ways that your competitors on the web often won’t.
Here are six advanced features you can use to power up Google Analytics and turbocharge data-driven decisions:

1. Figure Out Where Your Audience is Going By Tracking Outbound Links

Even if your bounce rate is low, it is still key to understand where your visitors are going when they exit your page. By understanding the outbound link behavior of your users, you can optimize your website for conversion and your brand messaging for strategically maximum effect. This is true for two reasons.
First, many web business models rely on driving traffic to a page that is located on a different domain. A good example of this is affiliate programs where you have to drive traffic to a landing page to make money. If you track the behavior of that outbound link, you’ll know which domains convert the best. Paired with an 80-20 work ethic, you can then focus all of your marketing efforts on those media channels, and reserve your new found free time to test out new ideas, perform freelance work, or take a nap.
Second, by tracking outbound links, you’ll know which spots on your page convert the best, and then you can plan according as to which links you want to put in that prime position. For instance, you might want to remove a low value link and replace it with a link to your best content, or to an outside blogger who has helped you significantly. If you find that none of your inbound or outbound links are converting well, you can easily pair up Google Analytics with Google Website Optimizer to do some split testing.
Now that I’ve convinced you to track outbound links, here’s a crash course in how to do it. If you’re using a custom-made CMS or web app, the best way to do it is to stick the following code into the <head> portion of your page:
  1. <script type="text/javascript">  
  2.     function recordOutboundLink(link, category, action) {  
  3.         try {  
  4.             var myTracker=_gat._getTrackerByName();  
  5.             _gaq.push(['myTracker._trackEvent'' + category + '' + action + ']);  
  6.             setTimeout('document.location = "' + link.href + '"', 100)  
  7.         }catch(err){}  
  8.     }  
  9. </script>  
This will delay links from loading by fraction of a second, giving Analytics time to record the click before the user leaves the page. Thankfully, the delay is so small that it won’t affect the user experience, so you need not worry. Then, you can track any link you want by adding the following onClick function to the links you want to track:
  1. <a href="http://www.example.com" onClick="recordOutboundLink(this, 'Outbound Links', 'example.com'); return false;">  
There are two parameters in recordOutboundLink that you might want to change to further customize your report. The second parameter, which has the value of Outbound Links in the example above, refers to the folders that will be used to organize your data when you view it in Google Analytics. Renaming Outbound Links is a good first start, but it isn’t descriptive enough to properly segment all of the data you’re going to collect. A better way might be to classify outbound links by type: either “blog,” “landing page,” or “social media.” Or, you can do it by the position on the page: “top,” “sidebar,” or “bottom.” The third parameter in the list is the individual identifier of the page. The truncated domain is a perfectly sane value for this, but you could also rename it to something more memorable if you would like, such as “Hongkiat” or “Facebook.”
Outbound link tracking is even easier to implement if you’re using a popular CMS or web framework. If you’re using WordPress, you can track links automatically with the Ultimate Google Analytics plugin. On Rails, you can bake this into your models with the Google Analytics Gem.

2. Get Real Time Statistics (Kind of)

One of the main reasons why people use something other than Google Analytics is because they want built-in real time statistics. And they’re right when they complain about how Google Analytics can’t do that. But you can use a simple trick to get almost up-to-the-minute statistics without shelling out cash for a premium service. Google updates your statistics on an hourly basis. To get that data, all you need to do is click on the date selector calendar in your Analytics report, and select the current date as the end date. Of course, this data isn’t completely up-to-date, but up to the hour is likely close enough to take fast and intelligent action when your content goes viral.
 6 Powerful Google Analytics Features
Normally, when you click on the date drop-down, you’ll notice that the blue bar indicating the selected date only goes up to yesterday. To get it to show real-time data, select the first date in your preferred range, and then click the latest date that isn’t grayed out. And voila! You have almost real time tracking.

3. Track Social Media Buttons

Social media is a powerful way to drive traffic to your site. Most bloggers encourage their readers to share their content via Facebook and Twitter – and when their users actually do so, it can be enough to bring in tens of thousands of new readers, subscribers, and consumers. We all want to go viral on social media. Therefore, it makes sense to track which users click on the buttons so we can focus our attention on the users that will reliably make our content go viral.
When I launched Auric, my newest blog, I wanted to make sure that social media was incorporated as a key part of the experience. That meant tracking social media actions in the same way that I tracked page views so that I could view all of the information in the same report (and hopefully affect both with the same action). If you use the Facebook OpenGraph API to incorporate the ubiquitous “Like” buttons into your content, it’s incredibly easy to track the users who click on it. First, though, if you aren’t already familiar with embedding Facebook buttons on your site with the Javascript API, you’ll want to read up on it over at the Facebook Developers site.
In a nutshell, you’re going to merely add an onClick function to your FBML code that allows the event tracking engine in Google Analytics to fire up when people click on the button. Here’s what the modified code will look like:
  1. <fb:like onclick="javascript: _gaq.push(['_trackPageview', 'example.com/facebook']);" href="http://www.example.com/"></fb:like>  
When a user clicks on the Facebook button, Google Analytics will track it as a pageview, allowing it to show up in your reports in much the same way that a blog post or landing page would. Here, _trackPageview has one parameter that specifies how the click will appear in your reports. I recommend customizing each of the buttons on your site by including something like the blog post ID, the permalink, or a URL-escaped title (like advanced-google-analytics), followed by /facebook on the end. Then, you can see how each individual button is performing, and also easily aggregate the data together by searcing for all instances of /facebook in your Google Analytics reports.
You can use this technique to hack together event tracking for almost any clickable element on your page. For instance, it’s simple to implement this on Twitter’s official retweet button. All you have to do is call _trackPageview asynchronously, and you’re good. Here’s how I would do it:
  1. <a href="http://twitter.com/share" class="twitter-share-button" data-count="vertical" onclick="javascript: _gaq.push(['_trackPageview', 'THENAMEOFYOURPAGE/twitter']);">Tweet</a>  
  2. <script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>  
Just like in the Facebook example above, you can edit the sole _trackPageview parameter to customize how retweets appear in Analytics. I generally set my tracking identifiers to end in /twitter, but you can make it whatever you want.

4. Create Custom Campaign URLs to Track the Effectiveness of Link Building Campaigns

While tracking how many users interact with your social media buttons will give you a level of insight significantly higher than most other sites on the web, it won’t automatically tell you how effective social media buttons are at getting new users to visit your site (a la viral media). Of course, with a few modifications, you can easily change that. Google Analytics allows you to set up custom campaign URLs that automatically categorize and track the users who come in via those paths. To do it, all you need to do is add some parameters after the URL in the standard ?variable=value format. Here’s the variables you can use:
  • utm_campaign identifies a specific product or campaign. You might set this to retweet_button or facebook_like.
  • utm_source identifies where the traffic is coming from. Think of it as the site name or the URL. For a social media tracking campaign, you might set it to facebook or twitter.
  • utm_medium describes the type of traffic, such as cost per click, organic search traffic, or RSS. Here, you might set it to social_media.
For tracking a social media campaign, I would use a URL like the following:
  1. http://www.example.com/?utm_source=facebook&utm_medium=social_media&utm_campaign=like_button  
Now, the trick is to make sure that this is the URL that is shared on Facebook and Twitter. All you need to do is to append the tracking variables to the end of the URL set inside the settings for the social media buttons, and you’re all set. Building on the Facebook like button code illustrated above, it would look like this:
  1. <fb:like onclick="javascript: _gaq.push(['_trackPageview', 'example.com/facebook']);" href="http://www.example.com/?utm_source=facebook&utm_medium=social_media&utm_campaign=like_button"></fb:like>  
Of course, social media is not the only use for campaign tracking URLs. I also use it in my RSS feeds in order to get a more accurate snapshot of content usage within feed readers. It allows you to calculate the true value of a new subscriber, and focus your energy on the subscriber segments that will provide the most value to your site.

5. Use Custom Variables to Refine Data

Out of the box, Google Analytics only tracks pages, and it tracks each page in exactly the same way. For most, this is fine because you can usually tell which page is which by looking at the URL. However, Google Analytics is much more powerful than that – the system is flexible enough to let you build a model of your site’s content organization scheme right within Google Analytics. Then, you aren’t limited to tracking mere pages anymore. In fact, you can adapt it to track categories, tags, sections, or whatever other taxonomy you can think to throw at it. This is especially helpful with web applications and e-commerce sites where you might want to track specific actions or types of products.
Harnessing this power is as easy as sticking custom variables directly into your page code. The only sticking point is that variables are restricted to specific scopes of visitor engagement. Google Analytics offers the following three scopes:
  • Page
  • Session
  • Visitor
You can read about the scopes in Google’s custom variables documentation. It can be a bit confusing at first, but the best way to think about it is by the thing you’re trying to segment. For instance, if you want to compare pages that are in one category versus another category, you would use the page scope. If you want to compare whether a user is logged in, you would use the session scope. The visitor scope is best used when you want to compare different types of users.
Here’s the basic code you’ll need to put in the <head> section of your page to get started with custom variables:
  1. _gaq.push(['_setCustomVar', 1, 'Category''Photoshop Tutorials', 3]);  
The 1 in the code above refers to the index. Analytics only gives you five slots for custom variables, so you can pick a number from 1 to 5 to assign it to a slot. You can only use a slot once, so you’re limited to having only five custom variables at a time.
The Category text is the name of the variable. You can set it to whatever you want. If you wanted to track tags on your WordPress blog, for instance, you might set it to Tag.
Photoshop Tutorials is the value of the custom variable. In the tag example mentioned above, you would set this to the name of the tag. If you’re using WordPress or another CMS, you’ll want to use the appropriate function to set this dynamically.
Finally, the last parameter sets the scope. 1 is the visitor scope, 2 is the session scope, and 3 is the page scope.

6. IP exclusion (so you don’t inadvertently measure yourself or your web team)

Whenever I launch a new site, I generally spend an hour or two fidgeting with the design and the code to make sure that everything is perfect. From there, I’ll usually do some initial link building and go to Analytics to see if I got any traffic. And every time, I would see a huge spike on the first day. For months, I thought I was an online marketing god. That is, until I dug into the data and saw that all of the traffic came from the same browser. And from the same city. And from the same IP address. Whoops.
Now, I use the IP exclusion feature in Google Analytics to make sure that my testing doesn’t skew the data (and get my hopes up for nothing). In order to do it, click on the “Edit” button for your site on the main profile page.
filter 1 6 Powerful Google Analytics Features
On the “Profile Settings” page, scroll down the page until you see the box named “Filters Applied to Profile” (below goals). Click on the “Add Filter” link, and you’ll be taken to the “Create New Filter” page.
filter 2 6 Powerful Google Analytics Features
Once you’re there, you can stick in your IP address (or range of IP addresses) so that it is excluded from Google Analytics. As soon as you’re done, click “Save Changes” and you’re all set.

Dashboards



Dashboards got a much needed overhaul in the new GA. Users can now create up to 20 personalized dashboards, developing widgets and formats that make the most sense for them or their company. For instance, each company department could develop its own distinct dashboard to quickly access site performance statistics that relate to department goals. Keep in mind: Dashboards can only be shared by users on the same login.
At a minimum, these four widgets would benefit the average user.
  • Visits – Timeline (can also include Metric)
  • Goal Completions and/or Transactions – Timeline
  • Source/Medium – Table
  • Bounce Rate – Timeline

 Keyword Clouds



Rather than viewing a long list of keywords to spot trends, users can now evaluate a keyword cloud. This cloud makes it easy to visualize top keywords based on different user-selected criteria, including visits, bounce rates and pages per visit.

Real-Time Data



In the past, Google Analytics data was typically delayed up to 24 hours after the visit. For the first time, GA offers a real-time data solution. With its real-time reports, users can view the activity on the site as it happens, drilling into the top active pages, top referrals, keywords and geographic locations driving the traffic. In addition to monitoring current activity on the site, these reports can also be used to test campaign tracking prior to launching campaigns.

Site Speed



When Google released this report several months ago, it required additional code to be added to sites. Now speed reporting is standard on GA, and doesn’t need extra code. Use the site speed reports to get information about average page load time.
Why is this important? A slow site can have a negative effect on quality score for paid search, so visits can cost more to a slower site. Google has also indicated that site speed may be an important factor in organic search rankings. Additionally, a one-second delay can result in a 7% reduction in conversions. Use this report to monitor site speed and avoid these issues.

Search Simplifies Navigation



GA has activated menu search, a phenomenal usability update. The tool makes it easier for users to quickly navigate to the proper report. Google also created an account search that lets users directly access the correct profile, rather than scrolling through hundreds to locate the right one.
GA also introduced the ability to switch between multiple profiles while staying with and maintaining the settings of the same report. Previously this could only be done using a Firefox plugin.

 Webmaster Tools



The new integration incorporates Google Webmaster Tools data into Google Analytics. Using this tool, users can get a better sense of which Google property (web, image, local) drove site traffic. Similar to statistics provided to paid search advertisers, Webmaster Tools provides impressions, average position and CTR data for GA.
Although the numbers are not 100% accurate, they can be used to evaluate relative trends and to provide insight into data lost due to Google’s search update. Although the Webmaster Tools report is in Google Analytics, it’s limited to a single part of GA.

 Social Engagement



Use Google Analytics to track how visitors interact socially with your site. A 2010 study showed 54% of small and medium-sized businesses said they already use or plan to use social media, and 17% planned to increase their social budget again from 2010 to 2011. With more companies making a push for social, it makes sense to analyze social site interactions.
GA’s new social reports break down how many of a site’s visitors are socially engaged with the site, itemizing which social source and action occurred. That way you can determine how many of your visitors +1′d site content vs. how many Liked it, as well as the pages that prompted this social action. Social plugins ShareThis and AddThis easily integrate with Google Analytics, passing information on social interactions back to GA with minimal changes.

 Visitor Flow & Goal Flow Visualization



Flow Visualization was announced in October, but only recently started rolling out to most users. Flow Visualization consists of two reports: Visitors Flow and Goal Flow. The Visitors Flow report can be used to visualize the “flow” of visitors through the site, while the Goal Flow is an improvement on the original Funnel Visualization reports.
The Goal Flow report is especially valuable, as it simplifies evaluating a conversion funnel. Have a checkout process six pages long? Now you can determine at which page people are abandoning their carts. Then improve the process and save the sales.

Event Tracking



Prior to this new feature, any goal interaction with a site that didn’t result in a new URL needed to be tracked using special code to create a virtual pageview, which resulted in inflated numbers in GA. For the first time, Events can be used as goals. Want to find out how many people downloaded a PDF? Interested in knowing how many visitors viewed more than 30 seconds of a video on your site? Now users can easily track these events without affecting other metrics.

. Multi-Channel Funnels



The Multi-Channel Funnels are a series of reports intended to help provide attribution information. For example, a person visits your site first from a paid search ad, then from an organic search listing, then from a link in Twitter, and finally from an email link. Therefore, which channel should get credit for the conversion? With many analytics platforms, the credit goes to the final funnel, thus, the email marketing campaign.
Multiple reports in the new Multi-Channel Funnels allow users to view further back than the final channel. Now GA shows every interaction a user had with the site in the 30 days prior to conversion. Using these reports, departments can take credit for their assists to conversions, and companies can make more informed decisions about which marketing activities have the highest ROI.
These are just a few of the many great advancements made to Google Analytics with the new rollout. While there are still several features missing (such as the PDF and email export functionalities, percent comparisons, missing graph by week option, etc.), Google is constantly striving to correct these with future iterations of the platform.
What’s your favorite feature in the new Google Analytics?


No comments:

Post a Comment