[Yanel-dev] Google analytics exit link onclick problem

Bruno von Rotz bruno.vonrotz at wyona.com
Fri Apr 23 15:37:55 CEST 2010


couldn't we alter the suffix?
We could have html_e or htmle to highlight external links. The problem 
though is that you still wouldn't know where it went.
Bruno

Michael Wechner schrieb:
> Hi
>
> I have refactored the Google analytics code slightly and have noticed 
> that it currently does not allow re onlick() to differentiate
> between external and internal links starting with http or https, e.g. 
> let's assume we have have a page
>
> http://localhost:8080/yanel/foo/bar.html
>
> which contains the following links
>
> http://localhost:8080/yanel/foo/bob.html
> http://www.nyt.com/yanel/foo/bob.html
>
> then both links will be sent to Google analytics as
>
> /yanel/foo/bob.html
>
> because the method/function Yanel_requestURIFromFQURL within
>
> src/webapp/htdocs/Google-Analytics/GA.xslt
>
> is cuttinng off the protocol and the hostname, because AFAIK Google 
> does not
> allow protocol and hostname to be sent.
>
> Any idea how to improve this, because it would actually be nice to 
> analyze exit links?
>
> (in particular re goals/funnels: 
> http://www.google.com/support/googleanalytics/bin/answer.py?hl=en&answer=55515) 
>
>
> Thanks
>
> Michi
>
>


-- 
______________________________
Bruno von Rotz
WYONA
Hardstrasse 219 
CH-8005 Zürich 
Switzerland 
P: +41 44 272 91 61 
F: +41 44 272 91 62 
skype: wyona-switzerland
email: bruno.vonrotz at wyona.com
www.wyona.com 



More information about the Yanel-development mailing list