Custom Variables in Google Analytics

The new “_setCustomVar” method is a major upgrade of “_setVar” method that allowed advanced visitor segmentation. Now with this improved method we are not longer bound to “Visitors” rather we are now able to segment our analytics data based on “visitors”, “sessions” and “pages.” The major difference between “_setVar” and “_setCustomVar” can be understood by the following chart: To get most out of new custom variables method, it is recommended that you first understand how  visitor interacts with your content/site over a period of time and how Google Analytics measures this. The point is made clear on the Google Code Site, under the heading “Overview”, I suggest you to read that passage first to clear up the...

How to install Asynchronous Tracking in Google Analytics

First Time Installation of Asynchronous Tracking: Following are steps if you are installing Google Analytics Code on your site for first time and you want to use Asynchronous Tracking. Insert the asynchronous snippet at the bottom of the <head> section of your pages, after any other scripts your page or template might use. According to Google the optimal location for the asynchronous snippet is at the bottom of the <head> section, just before the closing </head> tag. Modify the _setAccount method with your web property ID. (check screen shot below)And you are done! You can get the Asynchronous Tracking code from this post or from Google here. Migrating or Upgrading to New Asynchronous Tracking: If you want to migrate/upgrade to the...

What is Google Analytics – Asynchronous Tracking

Quite recently Google has upgraded its Web Analytics Tracking Code, and the new version is called Asynchronous Tracking. This code is different from the previous GA code, below is an introduction. Asynchronous Tracking in Google Analytics: Asynchronous tracking is an improved way to track website visitors with Google Analytics. 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. Although asynchronous tracking uses a different Analytics snippet and a different syntax for tracking calls, it supports the exact same tracking customizations as the traditional snippet. In fact, the asynchronous...

Google Certified Analytics Professional

I am happy to share with my friends and readers that I have just passed my Google Analytics Certification exam, so I am pretty much excited. It was not very tough but the at the same time not so easy. The questions were MCQs with focus on Web Analytics concepts. I will advise reading the Google Analytics Course and reading the various questions and problems in Help Center before attempting the exam. The exam had 70 questions and the time allowed was 90 mins. Check out the various resources for preparation at: http://www.google.com/analytics/education.html

How to exclude specific country or region from Google Analytics

Here are the quick and easy steps to implement, if you want a report of website traffic, excluding a specific country or territory. However,it should be noted that, it is among the best practices to create new test profiles when you are testing our filters or other advanced analytics setups. The reason is that it is not unusual that some of your experiments might turn out to be wrong or do not meet your specific requirements, if you have multiple profiles, then you can safely delete the newly created one without loss of critical data. You should have one untouched raw analytics profile, always. Having said that, lets move towards our setup, I have already created a new profile for the same website and name it “Filtered Traffic” As soon as you create...