Showing posts with label Google Analytics. Show all posts
Showing posts with label Google Analytics. Show all posts

Real-Time Site Search Visualization

Donal Trung 11:52 AM Add Comment
If you like the full-screen Google Trends visualization that shows the latest hot searches, there's a cool project that uses the same animations to show Google Analytics searches in real time. It's made possible by the recently launched Google Analytics Real Time Reporting API and it shows your site's internal searches, as well as some of the Google searches that lead to your site.


"You can setup your own site visualization in only two steps: first authorize access to your Analytics data, select your site, and set the query parameter for your site searches, usually the letter q. Click save, and see your visitor's searches appear live as a beautiful visualization," explains Yvo Schaap, who developed the service.

Here's a video that shows how to use this addictive mashup:


According to the site, Live Site Search Visualisation is "a dashboard visualizing live search activity on your site using your existing Google Analytics tracking." It also shows Google search referrals. Just like in Google Trends, you can click the top-left corner to select the number of keywords that are displayed at a time.


Just in case you're worrying about this, the site does not "save any data coming from your Google Analytics account on its servers. All data requests are made client-side only over https."

{ Thanks, Yvo. }

Picasa Web Stats in Google Analytics

Donal Trung 1:40 AM Add Comment
Picasa Web Albums has an option that lets you see detailed visitor stats for your photos. If you go to the Settings page, you can enable "photo tracking". The only thing you need is a Google analytics tracking code.


Picasa Web's help center explains that you need to create a new Google Analytics account (not a new Google account) to monitor Picasa Web Albums photo traffic. After creating the new account, find the account ID that looks like UA-xxxxxxx-y and enter it in the Google Analytics tracking code box from Picasa Web Albums. "Once the setup is complete, just sign in to Google Analytics and click View reports to see visitor stats for your photos. It can take up to 24 hours for Analytics to detect your tracking code."

A similar option is available for Google Docs, but only for published documents. While this feature is useful, it's not very easy to use and it's not properly integrated with Google Docs and Picasa Web. Showing simple stats, like the number of views, the top search queries and referring websites, in a special section of Google Docs and Picasa Web would be a much better idea.

Add-ons for Disabling Google Analytics Tracking

Donal Trung 10:41 AM Add Comment
Google released plug-ins for Internet Explorer 7+, Firefox 3.5+ and Chrome 4+ that disable Google Analytics tracking. Google Analytics is by far the most popular free service for getting statistics about the visitors of a site and it's used by a lot of sites, including this blog. Even if the service doesn't show personal information about the visitors and it only provides aggregated data, some people are concerned that Google can track the sites they visit using a seemingly innocuous Google Analytics script.

Google explains that Google Analytics uses first-party cookies to track visitor interactions, so the data can't be aggregated for all the domains. "The Google Analytics Terms of Service, which all analytics customers must adhere to, prohibits the tracking or collection of [personal] information using Google Analytics or associating personal information with web analytics information."

Those that are concerned about their privacy can install an add-on and permanently disable the script. After installing the add-on, you'll notice that the browser still sends a request for this file: http://www.google-analytics.com/ga.js when visiting a page that uses Google Analytics, but it no longer sends information to Google Analytics.


If a lot of users install the add-on, website owners will no longer have accurate stats, they'll no longer be able to find if their content is popular and what sections of their site still need some work. Even if Google didn't release opt-out add-ons, users could still block Google Analytics by adding an entry to the HOSTS file, but the add-ons make it easier to opt-out.

Google also added a feature for website owners: Google Analytics can now hide the last octet of the IP address before storing it. "Google Analytics uses the IP address of website visitors to provide general geographic reporting. Website owners can now choose to have Google Analytics store and use only a portion of this IP address for geographic reports. Keep in mind, that using this functionality will somewhat reduce the accuracy of geographic data in your Analytics reports. "
Optimized Google Analytics Code

Optimized Google Analytics Code

Donal Trung 4:03 PM Add Comment
A lot of web sites use Google Analytics to analyze traffic data, so the performance of Google's tracking code is very important. Google recommends to place the code just before closing the <body> tag to ensure "that the tracking code is executed as the last element of the DOM". Otherwise, the script would block the other elements from loading and visitors would have until the script is executed to see the rest of the page. Unfortunately, you can't place the script at the bottom of the page if you some advanced features like tracking events.

To improve the script's performance, Google decided to load it asynchronously. "Unlike a traditional installation, asynchronous tracking optimizes how browsers load ga.js so its impact on user experience is minimized. It also allows you to put your Analytics snippet higher in the page without delaying subsequent content from rendering."

Here's the new code for basic tracking, which uses some ideas from Steve Souders:

<script type="text/javascript">

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-XXXXX-X']);
_gaq.push(['_trackPageview']);

(function() {
var ga = document.createElement('script');
ga.src = ('https:' == document.location.protocol ?
'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
ga.setAttribute('async', 'true');
document.documentElement.firstChild.appendChild(ga);
})();

</script>
Google Analytics Blog says that the new snippet is a beta feature and changing the code is optional.
The new tracking snippet offers the following benefits:

* Faster tracking code load times for your web pages due to improved browser execution
* Enhanced data collection and accuracy
* Elimination of tracking errors from dependencies when the JavaScript hasn't fully loaded

Introducing Google Analytics for Mobile Apps

Donal Trung 10:00 AM Add Comment
Last week, we introduced expanded mobile reporting features in Google Analytics. To help developers, this launch includes features that make it easy to see how people are using specific parts of their iPhone and Android applications. The same Google Analytics reports that provide insights into website traffic and engagement are now available for mobile apps.

As with websites, there are two basic categories of user interaction you can track: pageviews and events. Since mobile apps don't contain HTML pages, developers simply determine when their apps should trigger pageview requests. Google Analytics then aggregates this data in the Content reports to display the number of visits, session length and bounce rates. The data gives insight into how your users interacted with the app.
Developers can also track visitor actions that don't correspond directly to pageviews using Event Tracking. These user actions can include views of embedded videos, button clicks, downloads and more. App developers can then use this data to understand which features are most popular and inform decisions about which features should be promoted or prioritized for further development.
Redfin, an online brokerage for buying and selling homes, recently tested Google Analytics on their mobile application. Watch this video to learn more about their experience:



To get started using Google Analytics to understand and optimize how people use your iPhone or Android mobile app, check out the SDK and technical documentation.