Piwik and Google Instant Referrals

The Setting

Since I had some colleague doing a favor for me, I have discovered a bug in distinction between „normal“ search and instant search (not the preview).

He was searching for a way to reset the password of his media player („dreambox password 800“), using Return to search (kind of „reflex“ I tend to use quite often, too).

Then he searched for „sencha touch“ without hitting Return-Key and clicked my blog (that's why I have his hit with the title of a post about mobile frameworks in my stats).

In fact: The piwik-Entry tells, that he entered the site by searching for „dreambox password 800“, which is in fact wrong.

I file this as major because it means, that we can't trust at least the google keyword stats since Google Instant is getting used by default from Google where applicable.


This has been filed in http://dev.piwik.org/trac/ticket/2634

Research

After being extremely frustrated about the harsh comment, I did a 5-Minute Research on this. (Made some more, option b) and c))

Possible Solutions

a) Referer is being read wrong

These Referers have been read from the target page using „document.referrer“ in a javascript Console

http://www.google.de/url?sa=t&source=web&cd=1&sqi=2&ved=0CCEQFjAA&url=http%3A%2F%2Fcampino2k.de%2F2011%2F04%2F10%2Fmobile-framework-battle%2F&rct=j&q=campino2k%20sencha%20touch&ei=9JlMTrnjIMP44QTXtbSwBw&usg=AFQjCNEOVnsOLs_b2tTf0X3vN1wyucjtlw
http://www.google.de/url?sa=t&source=web&cd=11&sqi=2&ved=0CJwBEBYwClAB&url=http%3A%2F%2Fcampino2k.de%2F2011%2F04%2F10%2Fmobile-framework-battle%2F&rct=j&q=sencha&ei=D9BSTouRF8j2sgax0PyaAw&usg=AFQjCNEOVnsOLs_b2tTf0X3vN1wyucjtlw

b) Even Google Instant Search genereates URLs

Some time after entering the keywords in Google Instant Search, the URL changes to some Ajax-style linkable Hash-URL

http://www.google.de/#hl=de&cp=26&gs_id=2t&xhr=t&q=sencha+touch+jquery+mobile&pf=p&sclient=psy&source=hp&pbx=1&oq=sencha+touch+jquery+mobile&aq=0&aqi=g1&aql=&gs_sm=&gs_upl=&bav=on.2,or.r_gc.r_pw.&fp=c47561add9fe5237&biw=1325&bih=1079

Following URL has been created following the next steps:

  1. Enter „this is just a piwik test“ into the Firefox Google search field and press Return
  2. Enter some keywords that will bring you to the tracked page („sencha touch campino2k“ in my case)
  3. Click the result
  4. enter „document.referrer“ in the JS-Console (e.g. Firebug, e.g.)

Firefox

"http://www.google.com/url?sa=t&source=web&cd=1&sqi=2&ved=0CBUQFjAA&url=http%3A%2F%2Fcampino2k.de%2F2011%2F04%2F10%2Fmobile-framework-battle%2F&rct=j&q=sencha%20touch%20campino2k&ei=GdFSTo3xO7D44QTXi_XnBw&usg=AFQjCNEOVnsOLs_b2tTf0X3vN1wyucjtlw"

Chrome

"http://www.google.de/url?sa=t&source=web&cd=1&sqi=2&ved=0CCYQFjAA&url=http%3A%2F%2Fcampino2k.de%2F2011%2F04%2F10%2Fmobile-framework-battle%2F&rct=j&q=sencha%20campino2k&ei=_tFSTsXBCcjP4QST86jKBA&usg=AFQjCNEOVnsOLs_b2tTf0X3vN1wyucjtlw"
Navigation

Impressum

Drucken/exportieren
In anderen Sprachen
Übersetzungen dieser Seite: