[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: google analytics and .htaccess
From: |
Jan Nieuwenhuizen |
Subject: |
Re: google analytics and .htaccess |
Date: |
Sun, 27 Jun 2010 19:55:02 +0200 |
Op zondag 27-06-2010 om 18:35 uur [tijdzone +0100], schreef Graham
Percival:
> I noticed some javascript code on the old webpage about a goal.
> Relevant questions are:
> - do we want to bother with this for the new website?
Grep for urchin, the most important ones are on the download
links themselves, in the old site script/format-page.py
def sub_download_link (m):
version = m.group (2)
version = re.sub ('([0-9]+)[.]([0-9]+)[.].*', r'\1.\2', version)
track = (r'''onClick="javascript:urchinTracker ('/download/v%
s');"'''
% version)
return track + ' ' + m.group (0)
It would be nice to have these real soon.
Jan.