diff options
author | Matthew Somerville <matthew@mysociety.org> | 2013-03-12 10:13:59 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2013-03-12 10:13:59 +0000 |
commit | a9d870c3106c199d74a19ddb120aef705468a34f (patch) | |
tree | 99c9adee7d110848539524b791ab3cefd3f29704 /templates | |
parent | bddbb8b02ec5e7e61de8ac17cd956f8fa0732e4f (diff) |
Live GA code for Zurich.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/web/zurich/tracking_code.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/web/zurich/tracking_code.html b/templates/web/zurich/tracking_code.html index f94fbdcd5..f98a1e038 100644 --- a/templates/web/zurich/tracking_code.html +++ b/templates/web/zurich/tracking_code.html @@ -1,8 +1,11 @@ -[% IF c.config.BASE_URL == "http://zurich.fixmystreet.staging.mysociety.org" %] +[% + SET ga_code = 'UA-38427437-1'; + SET ga_code = 'UA-39223200-1' IF c.config.BASE_URL == "http://www.zueriwieneu.ch"; +%] <script type="text/javascript"> var _gaq = _gaq || []; - _gaq.push(['_setAccount', 'UA-38427437-1']); + _gaq.push(['_setAccount', '[% ga_code %]']); _gaq.push (['_gat._anonymizeIp']); _gaq.push(['_trackPageview']); @@ -13,6 +16,3 @@ })(); </script> -[% ELSE %] -<!-- Tracking code not inserted as "[% c.config.BASE_URL %]" not "http://www.fixmystreet.com" --> -[% END %] |