Monday, August 16, 2010
Gold Medal to Custom Variables
Usually I would talk about the coding and the implementation in detail but this time I just want to list and expand on ideas for using custom variables as a solution for some of your needs.
1. First and Last Click Attribution
By default Google Analytics presents the source and medium of the conversion based on the last click that generated the conversion. However, many clients want to know which one was the final touch point that generated the purchase, enrolment, download, etc.. Using custom variables at visitor level we can obtain such information.
Imagine you have different campaigns (not only AdWords campaigns) for a specific product. If visitors come to your site for the first time as a result of an email campaign, you could set two Custom Variables; CVSource and CVMedium. To make this work you will need to add a piece of code to check if the Custom Variable is set or not. If the CVSource and CVMedium are undefined you will need to set them, otherwise don't do anything.
Now suppose a visitor has spent some time on your site but he/she doesn't complete the goal e.g buy the product. Then a few days later, the same visitor comes to your site from a link posted on Twitter and this time he/she completes the purchase. In a normal scenario you would see the purchase came from Twitter which is true but you want to know which campaign generated his/her first visit and maybe analyse why the first one didn't work whereas the second source did?
Using Custom Variables and the technique I outlined above (remember no excuses) you can determine which initial touchpoint started the momentum toward the final conversion. You don't have to give 100% of the credit for the conversion to the last source, you can split it between the first and last source to see which is better and how the campaigns work together.
2. Sections - Categories
Sometimes you have different content to present to visitors and different goals classified by categories in your website. These categories could be presented as part of the menu, lists, sub-menu, etc. You could then set Custom Variables for a session level or in some cases for a visitor level. As a result you can identify the category that has been visited most much more easily than filtering by content in your content report in Google Analytics. This also allows you to check which categories are driving more visitor to complete a particular goal and which ones are the most effective for converting or completing goals.
3. Segmentation by Type of Information
3.1 Demographic
Many sites use forms to collect information required for purchasing products or services. Awareness of trends in the market and understanding customer/client needs are important to targeting the right audience at the right time with a campaign to promote a product or service.
Imagine your marketing team has created two new ads; one targeting young females and the other targeting families. If the customer already has a login and has previously entered information such as age, gender, income and occupation this makes it easy to segment them and target the ads.
3.2 Location
Not all the classifications defined for a location are available by default in Google Analytics because they are not standard for each country. You can see your reports segmented by ontinent, Country/Territory, Sub Continent Region and City but what if you would like to see that information classified by State/Province or by smaller locations inside the City e.g. by suburb. Use Custom Variables! It's up to you to find creative ways of capturing the specific locations your visitors are coming from but if you can access that data you can assign that value to your Custom Variable in a visitor or session scope.
4. Comments and Rating
If you have implemented a plugin or tool to add comments to your articles for example in a blog or rating a product or service. You could use Custom Variables to see how many commentators rate your product, service or blog post 'good' or 'bad'.
Let's say you set a Custom Variable call Ratings_Feedback with two values 'Good' or 'Bad'. Then, each time someone rates a particular element in your website the value will be stored in the Custom Variable. You can then look at your reports and find out: how many ratings you have; how many visitors out of the total using the plugin tool; and how many rate a specific product or service as 'good' or 'bad' etc.
I have found using Custom Variables very interesting and effective for all sorts of challenges, and great for insights into using the e-commerce tracking code and/or event tracking. My final suggestion, before you start implementing Custom Variables across your site is to analyse your needs very carefully. Try to find if you can get the data you want to see with the default dimensions and metrics provided by the UI.
If it is not possible to do it with the standard tracking code, e-commerce tracking code, virtual pageviews and/or event tracking, then take time to define and design the use of the Custom Variable. By following my advice (remember no excuses) you are sure to get the right information you need to segment and analyse your data for great results!
I hope sharing my ideas for using Custom Variables will help you experience the benefits of this excellent feature provided by Google Analytics, and of course make your reports easier, more effective and more impressive!
Wednesday, June 16, 2010
Pivot Tables in Google Analytics
However, an easier way to use a multi - dimensional view and compare results in a same table is using the pivot table feature. Using this feature you can rearrange significant information without exporting the data and importing it to an external spreadsheet. More important, you can do this on the fly because you are interacting with updated information directly in the application. Now, you can find this feature in many reports at the 5th column of the list of Views.

| Section | Sub - Section | Report |
| Visitor | Main Level | News Vs Returning |
| Languages | ||
| Custom Variables | ||
| Browser Capabilities | Browser | |
| Operating System | ||
| Browser and OS | ||
| Screen Color | ||
| Screen Resolution | ||
| Flash Version | ||
| Java Support | ||
| Network Properties | Service Providers | |
| Hostnames | ||
| Connection Speeds | ||
| Mobile | Mobile Devices | |
| Mobile Carriers | ||
| Traffic Sources | Main Level | Direct Traffic |
| Referring Sites | ||
| Search Engines | ||
| All Traffics | ||
| AdWords | AdWords Campaigns | |
| TV Campaigns | ||
| Keywords | ||
| Campaigns | ||
| Ad Versions | ||
| Content | Main Level | Top Content |
| Content by Title | ||
| Top Landing Pages | ||
| Top Exit Pages | ||
| Event Traffic | Categories | |
| Labels | ||
| Actions | ||
| Trending | ||
| Ecommerce | Product Performance | Product Overview |
| Product SKUs | ||
| Categories | ||
| Main Level | Transactions |
Let's look at some ideas where you can use this report. Imagine you want to see the visitor trend by type (news vs returning) grouped by Browser, and to compare the performance of each one of them, maybe number of visits vs pages/visits or bounce rate, so you can go to the news vs returning report and choose the view 'Pivot Table'. Then you will have the option to select the dimension to pivot by, in this case we select Browser, and as metrics visits and bounce rate.
However, you want to see the same information but showing in the same screen the top 10 browser. What you can do then is to go to the Browser report and pivot by Visitor type this time.
I've found very useful the pivot feature when comparing keywords, adgroups and/or campaign performance. For instance, if you go to the report Keywords and click in the view pivot you could pivot by Visitor type as we did in the last example.
Interested in more information tips for GA? Visit www.analyticsresults.com
Tuesday, March 23, 2010
Suburb Matchmaker & Land My Business Waiting for You

At the end of 2009, Suburb Matchmaker, an application that I created with two friends, won the Best Student Entry price in a contest sponsored by the Government 2.0 Taskforce. Once again, Suburb Matchmaker has been submitted to another contest after some additional work that has been done to improve it. This competition is called apps4nsw, and it has the aim to promote the development of creative and innovative applications on web using data from the public sector.
There are three categories available: Ideas, Ideas (students) and Applications. In this opportunity we are participating with an idea that we called 'Land My Business' and with 'Suburb Martchmaker' as application. Although we wanted to submit 'Land my Business' as application after creating the idea last Saturday ( 20th of March 2010) and being nominated as one of the two winners at the recent apps4nsw Hackfest, the submissions were open until yesterday and it was not possible to get ready the domain ready on time. However, we believe that our idea is very useful and we would like to continue developing it as we did with Suburb Matchmaker.
If you want to know more about Suburb Matchmaker and Land my Business, we have posted two short presentations that could give you an idea of both concepts.
- Land My Business Presentation
- Suburb Matchmaker Presentation with Audio
You can find our entries in the contest for Suburb-matchmaker as Application and for Land-my-Business as Idea.
We are open to receive comments, suggestions and any feedback that can help us to improve both concepts.
Friday, January 8, 2010
Asynchronous Tracking Code - Google Analytics
- How long time their sites take to be loaded?
- How many JavaScript functions are they using in their website?
- How much data I could lost bearing in mind that other JavaScript functions can affect my Google Analytics Tracking Code (GATC)?
- How much the right execution of the GATC depends of the other JavaScripts installed in the sites?
• 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
- Choose a simple page or website where you want to try the asynchronous tracking code by first time.
- Take a backup of the pages you will modify with the new snippet and then remove any existing tracking code you have in them.
- Forget about placing the GACT at the end of your web page (before closing the tag) because the Asynchronous will be installed at the top of the page, just after the head tag. If you have more calls to scripts included in the head section, put the tracking code as the last script in that section.
- Because of the function push is used all the time, you could simplify the code, passing several command arrays in the same call to the push function. e.g _gaq.push(['_setAccount', 'UA-XXXXX-X'],['_setDomain', 'example.com'],['_trackPageview']);
- If you want to use event tracking and e-commerce visit the Asynchronous Tracking Usage Guide for more information.
Wednesday, January 6, 2010
2009: A Year To Remember?
Let's see which features where launched in 2009 from some of the biggest vendors.
Google Analytics
- Track Google Site
- Integration of AdSense and GA
- Integration of Google Ad Planner and GA
- Share custom reports and advanced segments
- Advanced Segments for Event Tracking
- Google Analytics Export API
- Increase number of Goals and new Goal Types
- Expanded Mobile Reporting
- Advanced Table Filtering
- Unique Visitor Metric
- Multiple Custom Variables
- Analytics Intelligence Report
- New Asynchronous Tracking Code
- Annotations
WebTrends
- Social Media Measurement
- Multivariate Testing
- Analytics 9 that came with Annotations, real-time update for key metrics, and streamlined graphics.
- WebTrends Self Service Access and Collection API
- Mobile Measurement
- Campaign Cloning feature
- Social Media Measurement with the SiteCatalyst Extension
- Twitter tracking application
- Omniture SiteSearch
Wednesday, December 16, 2009
Suburb Matchmaker - Best Student Entry Winner

Few weeks ago, two friends and I participated in a contest called Mashup Australia organized by The Government 2.0 Taskforce with the aim to help them ‘show why open access to Australian government information is good for our economy and society’.
Our application was called Suburb Matchmaker and won the Best Student Entry prize. How was Suburb matchmaker born? Our team was only formed at the Open Australia Hackfest at Google where people with different skills developed mashups using data from the government for the benefit of citizens. Although we all had a number of ideas, we had a common interest in the data related to crime statistics from http://data.australia.gov.au/.
We believe that information is only as powerful as the application that is given to it. We decided to use government data to help citizens find the best suburb for them by providing their preferences in a number of factors (more families with children, with no children, more single people, etc). At that point we had one week to finish the mashup. We also used crime data to provide information about the crime classification and incidents in each area of NSW.
One of the benefits of Suburbmatchmaker is that not only can people find the area of their dreams to live based on the suggestions from the application; but also, those who are not looking for a new suburb to live in can find out more information about their area and to connect with it. Such information and trends are displayed in a text mode and in more detail with a dashboard. Also, you can see the key findings of Crime victimization in Australia, based on results of a survey conducted by the Australian Institute of Criminology in 2004.
Another benefit of this mashup is that it allows citizens to interact with the information by providing a space to promote events and post pictures of their area. This part of this application could be of particular interest for isolated communities interested in attracting more visitors and people to settle in the community.
Go to visit Suburb Matchmaker and/or follow us on Facebook
Saturday, December 5, 2009
Google Analytics - Intelligence Report 2nd Part
There are two ways to create custom alerts:
1. The easiest one is from the Intelligent report, clicking '+ Create a Custom Alert'.
1.1 Enter the alert name
1.2 Specify to the profiles that you want to apply the alert using the drop-down menu
1.5 Create the conditions for the alert. The conditions are divided by dimensions and metrics.
And then you select the metric and value which will decide when to trigger the alert.
2. The other way to create custom alerts is accessing the 'Manage Intelligence Alerts' panel found at the left hand of the screen under 'My Customizations' menu
You will see the new alert imported and several action that can be applied to that alert.
As you can see in the image you can edit, copy, share, delete and hide from profile the alert imported. 'Avg. Time on Site > 10'.
NOTE: Delete an alert means that you are going to delete the alert not only from this profile, but also from all the others that it has been applied. While Hide From Profile in other words means delete the alert only from this profile.
2.3 Finally you can see the alert templates and copy and then edit them for our own purposes.

