Permalink
Browse files

add google analytics

  • Loading branch information...
1 parent 1529fe9 commit 10b60da9cbf1fcfa4a4341a32bdc550c258b462b @bwyss bwyss committed Jun 7, 2011
Showing with 13 additions and 7 deletions.
  1. +13 −7 app/static/index.html
View
@@ -73,13 +73,6 @@
20037508.34, 20037508.34
],
layers: [{
- source: "local",
- title: "Natural Earth",
- name: "natural_earth",
- cached: true,
- group: "background",
- fixed: true
- },{
source: "google",
title: "Google Terrain",
name: "TERRAIN",
@@ -115,7 +108,20 @@
});
</script>
+ <!--Google Analytics-->
+ <script type="text/javascript">
+
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-20718690-2']);
+ _gaq.push(['_trackPageview']);
+
+ (function() {
+ var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+ })();
+ </script>
</head>
<body>
</body>

0 comments on commit 10b60da

Please sign in to comment.