Skip to content

Commit

Permalink
Live GA code for Zurich.
Browse files Browse the repository at this point in the history
  • Loading branch information
dracos committed Mar 12, 2013
1 parent bddbb8b commit a9d870c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions templates/web/zurich/tracking_code.html
Original file line number Diff line number Diff line change
@@ -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']);

Expand All @@ -13,6 +16,3 @@
})();

</script>
[% ELSE %]
<!-- Tracking code not inserted as "[% c.config.BASE_URL %]" not "http://www.fixmystreet.com" -->
[% END %]

0 comments on commit a9d870c

Please sign in to comment.