[m-rev.] diff: Fix Google Analytics tracking code.

Paul Bone pbone at csse.unimelb.edu.au
Mon Jan 11 10:48:27 AEDT 2010


Fix Google Analytics tracking code.

The Javascript snippet that we were asked to add to the website omitted a call.
This caused the generated statistics to be recorded incorrectly.  This patch
corrects this issue.

include/template.inc:
    As above.

Index: include/template.inc
===================================================================
RCS file: /home/mercury1/repository/w3/include/template.inc,v
retrieving revision 1.9
diff -u -p -b -r1.9 template.inc
--- include/template.inc	9 Jan 2010 01:01:47 -0000	1.9
+++ include/template.inc	10 Jan 2010 23:44:00 -0000
@@ -47,6 +47,7 @@
 <script type="text/javascript">
     try {
         var pageTracker = _gat._getTracker("UA-2808341-16");
+        pageTracker._setDomainName(".csse.unimelb.edu.au");
         pageTracker._trackPageview();
     } catch(err) {
     }
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 489 bytes
Desc: Digital signature
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20100111/501ff45d/attachment.sig>


More information about the reviews mailing list