Antezeta LogoAntezeta Web Marketing

Reflections on search engine optimization, web analytics and web marketing

Antezeta Web Marketing header image 2

Google AJAX Search results, tracking in Google Analytics and, um, an API rant

by · 1 Comment ·

As many may know by now, Google has been experimenting for a few months with Ajax () based search results. One problem with the initial trial was that no referrer information was passed when a user clicked on a search result, “breaking” the historic ability of systems to track search traffic from Google. Google has more than one service on each of it’s which may send traffic to a website, such as the Google Reader, so just knowing traffic is from Google isn’t so informative.

Keyword information from search referrers is in particular very important as we want to know not only where our visitors came from, but what was their intent, intent indicated though the keywords they use to express their need or desire while searching.

Keyword click position tracking in Google Analytics

After a a bit of outcry, Google found a work-around, which results in a new URL referrer from the AJAX search results. One really nice enhancement (bravo Google!) is that Google is also passing the position of the search result the user clicked on, through the use of a URL parameter cd=. Previously it was only possible to track the page number of the search result. Several people have already documented methods to use Google Analytics to track result position in Google search results for a given keyword. I would strongly suggest making your tests in a copy of your main Google Analytics profile to which you add new filters. I also suggest implementing the two filter approach which only considers organic traffic.

Even if you apply new logic to Google Analytics, going forward not all keywords will have position information. Not all searches from Google use the new referrer syntax. Nor have any of the other main search engines yet announced support for this tracking parameter, though I hope they will. Also note that each keyword or keyword phrase will be repeated for every position it occupies in search results, e.g.

awstats
awstats (4)
awstats (7)

Google Analytics has a nice on the fly filtering ability. Once you’ve set up the filter logic to add Google’s ranking information to your keywords and keyword phrases, you can enter the two characters \( to view just keywords with ranking information. The ( is the character we want to search for, the backslash is needed to “escape” the parenthesis which, by itself, would be interpreted differently.

I suspect that Google may offer a more elegant integration of this tracking in GA in the future, perhaps by presenting the average search position for a keyword along with range extremes for the reporting period. But maybe not, we’ll see. It will also be interesting to see how the big boys, Omniture, Coremetrics, and the direct competitors like Yahoo Web Analytics (ex IndexTools) respond.

Why the new AJAX Search Results?

Google Engineer Matt Cutts says the move from basic html SERPs (search engine result pages) to JavaScript / Ajax search results is to improve the speed of search results rendering. I must admit, I’m not too excited by AJAX and suspect there are other issues involved as well.

Google search URL parameters, going, going, gone?

First, I fear that URL parameters which allow power users to easily refine their queries, e.g. pws=0, gl=US, etc, will disappear. This seems to be already underway as evidenced with Google’s Adwords preview tool. When originally launched, Google documented URL parameters which allowed a power user to simulate their geographic location. But currently there’s no mention of these parameters in the relevant documentation. If you’re not in the know, you need to do your best with the Ajax interface. Worse, Google could decide to deprecate or obsolete the URL parameters. I do hope I’m very wrong on these points….

Crawling, or scraping, if you will, Google search results, going, going, gone?

I imagine that another goal, unstated, is to complicate the current crawling / scraping of Google SERPs for SEO purposes – many programming tools which retrieve web pages are not JavaScript capable. This would be fine if Google allowed reasonable API access to search results for standalone programs.

A Google search API rant

Despite being one of the world’s largest consumers of other people’s content, Google does not seem to currently sanction programmatic access to their/our data by stand-alone programs. There is the old Google Soap API but Google inexplicably closed access to new accounts in 2006. Google made a new API available, implying it was the Soap API replacement, but it appears that its terms of service exclude use by standalone programs (ironically, you need to send a referring URL, which of course doesn’t really exist in a standalone application), at least if the API usage is SEO oriented. As I’m not a lawyer, I hope I’ve got it all wrong and someone authoritative will set me straight.

Unfortunately, this seems to be one instance in which an otherwise great company is caught in a bit of hypocrisy.

Why is it that Google is so magnanimous in allowing users to export data from Gmail, Google Apps, , but not from Google Web Search? The official answer would be of the type “automated programs put too much demand on our servers“. While this may even be true, there are simple ways to solve this problem. Place reasonable daily or weekly usage limits. Charge reasonable fees for “excessive” usage. Yahoo! is able to manage the problem and so is Microsoft. If they can solve the problem, I would think the search leader could too, but I digress….

Similar Posts:

Registration is now open for the next SEO Course (March 22 and 23) and Google Analytics Course (March 14 and 15) in Milan. Don’t miss the opportunity!

Originally published April 22nd, 2009

  • Sean Carlos is a web marketing consultant & teacher, assisting companies with their Search (SEO + PPC = SEM), Social Media & Digital Media Measurement strategies. Sean first worked with text indexing in 1990 in a project for the Los Angeles County Museum of Art. Since then he worked for Hewlett-Packard Consulting and later as IT Manager of a real estate website before founding Antezeta in 2006. Sean is an official instructor of the Web Analytics Association and collaborates with the Bocconi University. Born in Providence, RI, USA, Sean received Honors in Physics from Bates College, Maine. He speaks English, Italian and German.


One Comment so far ↓

Leave a Comment

Warning: Comments are very welcome insofar as they add something to the discussion. Spam and/or polemical comments without a rational justification of the author's position risk being mercilessly deleted at the sole discretion of the administrator. Yes, life is hard :-).