9 posts tagged “web analytics”
According to my google analytics web statistics Firefox 3 is already the second most popular version (@ 20%) of Firefox for visitors one of my sites !
POS Version Visits %
1. 2.0.0.14 29 60.42%
2. 3.0 9 18.75%
3. 1.5.0.9 3 6.25%
4. 2.0.0.11 3 6.25%
5. 2.0.0.12 2 4.17%
6. 2.0.0.3 1 2.08%
7. 2.0.0.8 1 2.08%
Why would Google accept / approve / sponsor Tor for the Google Summer of Code 2008 ?
Tor is an organisation that "helps you defend against traffic analysis, a form of network
surveillance that threatens personal freedom and privacy" ie by attempting to subvert all Web Analytics tools including Google Analytics and apparently Tor also breaks Google Search itself ! Surely Googles primary product ?
Google Analytics have released a NEW version of their tracking javascript code (ga.js) so create the following two javascript files:
googanala.js
var gaJsHost = ( ("https:" == document.location.protocol) ? "https://ssl." : "http://www." ) ;
document.write(
unescape(
"%3C" +
"script type='text/javascript' " + "src='" + gaJsHost + "google-analytics.com/ga.js' " +
"%3E" +
"%3C" +
"/script" +
"%3E"
)
);
googanalb.js
var pageTracker = _gat._getTracker("UA-999999-9");
pageTracker._initData();
pageTracker._trackPageview();
and include the following two lines in your footer
script type="text/javascript" src="googanala.js" /script
script type="text/javascript" src="googanalb.js" /script
with angle brackets added back in !
ClickHeat PHP web page heat map
http://sourceforge.net/projects/clickheat/
http://www.labsmedia.com/clickheat/heatmap.html
I've just discovered that "Google Analytics" gives you the "Tracking Not Installed" error if you using HTTP redirects
[code]
<?php header( 'location: login.php' ) ; ?>
[/code]
so you must (temporarily ?) rewrite you code so that the google script is included DIRECTLY in the first page on your website
[code]
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-747268-6";
urchinTracker();
</script>
[/code]
How to track outbound links
https://www.google.com/support/analytics/bin/answer.py?answer=27246
a href="http://www.example.co.uk" onClick="javascript:urchinTracker('/outgoing/example_co.uk');"
How to track file downloads
https://www.google.com/support/analytics/bin/answer.py?answer=27242&ctx=sibling
a href="http://www.example.co.uk/files/map.pdf"
onClick="javascript:urchinTracker ('/downloads/map');"