Permalink
Browse files

Use new Google Analytics code.

  • Loading branch information...
1 parent ee4e29f commit 29ed5abda520393010b2b66bfd402fd58c2e870c @tuupola committed Jul 31, 2012
Showing with 116 additions and 48 deletions.
  1. +13 −6 disabled.html
  2. +12 −5 enabled.html
  3. +13 −5 enabled_container.html
  4. +13 −5 enabled_fadein.html
  5. +13 −5 enabled_gazillion.html
  6. +13 −5 enabled_noscript.html
  7. +14 −6 enabled_timeout.html
  8. +12 −6 enabled_wide.html
  9. +13 −5 enabled_wide_container.html
View
@@ -22,6 +22,19 @@
</style>
+ <script>
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-190966-1']);
+ _gaq.push(['_trackPageview']);
+ _gaq.push(['_trackPageLoadTime']);
+
+ (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>
<div id="wrap">
@@ -64,11 +77,5 @@
<div id="footer">
</div>
- <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
- <script type="text/javascript">
- _uacct = "UA-190966-1";
- urchinTracker();
- </script>
-
</body>
</html>
View
@@ -18,6 +18,18 @@
</style>
+ <script>
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-190966-1']);
+ _gaq.push(['_trackPageview']);
+ _gaq.push(['_trackPageLoadTime']);
+
+ (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>
@@ -74,11 +86,6 @@
$("img").lazyload();
});
</script>
- <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
- <script type="text/javascript">
- _uacct = "UA-190966-1";
- urchinTracker();
- </script>
</body>
</html>
View
@@ -21,6 +21,19 @@
overflow: scroll;
}
</style>
+
+ <script>
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-190966-1']);
+ _gaq.push(['_trackPageview']);
+ _gaq.push(['_trackPageLoadTime']);
+
+ (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>
@@ -80,11 +93,6 @@
$("img").lazyload({effect : "fadeIn", container: $("#container")});
});
</script>
- <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
- <script type="text/javascript">
- _uacct = "UA-190966-1";
- urchinTracker();
- </script>
</body>
</html>
View
@@ -17,6 +17,19 @@
}
</style>
+
+ <script>
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-190966-1']);
+ _gaq.push(['_trackPageview']);
+ _gaq.push(['_trackPageLoadTime']);
+
+ (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>
@@ -89,11 +102,6 @@
});
});
</script>
- <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
- <script type="text/javascript">
- _uacct = "UA-190966-1";
- urchinTracker();
- </script>
</body>
</html>
View
@@ -17,6 +17,19 @@
}
</style>
+
+ <script>
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-190966-1']);
+ _gaq.push(['_trackPageview']);
+ _gaq.push(['_trackPageLoadTime']);
+
+ (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>
@@ -86,11 +99,6 @@
});
});
</script>
- <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
- <script type="text/javascript">
- _uacct = "UA-190966-1";
- urchinTracker();
- </script>
</body>
</html>
View
@@ -20,6 +20,19 @@
display: none;
}
</style>
+
+ <script>
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-190966-1']);
+ _gaq.push(['_trackPageview']);
+ _gaq.push(['_trackPageLoadTime']);
+
+ (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>
@@ -102,11 +115,6 @@
});
});
</script>
- <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
- <script type="text/javascript">
- _uacct = "UA-190966-1";
- urchinTracker();
- </script>
</body>
</html>
View
@@ -17,6 +17,19 @@
}
</style>
+
+ <script>
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-190966-1']);
+ _gaq.push(['_trackPageview']);
+ _gaq.push(['_trackPageLoadTime']);
+
+ (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>
@@ -80,14 +93,9 @@
});
});
$(window).bind("load", function() {
- var timeout = setTimeout(function() { $("img").trigger("sporty") }, 5000);
+ var timeout = setTimeout(function() { $("img").trigger("sporty"); }, 5000);
});
</script>
- <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
- <script type="text/javascript">
- _uacct = "UA-190966-1";
- urchinTracker();
- </script>
</body>
</html>
View
@@ -17,7 +17,18 @@
}
</style>
-
+ <script>
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-190966-1']);
+ _gaq.push(['_trackPageview']);
+ _gaq.push(['_trackPageLoadTime']);
+
+ (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>
@@ -76,11 +87,6 @@
$("img").lazyload({effect: "fadeIn"});
});
</script>
- <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
- <script type="text/javascript">
- _uacct = "UA-190966-1";
- urchinTracker();
- </script>
</body>
</html>
@@ -26,6 +26,19 @@
}
</style>
+ <script>
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-190966-1']);
+ _gaq.push(['_trackPageview']);
+ _gaq.push(['_trackPageLoadTime']);
+
+ (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>
@@ -88,11 +101,6 @@
$("img").lazyload({container: $("#container")});
});
</script>
- <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
- <script type="text/javascript">
- _uacct = "UA-190966-1";
- urchinTracker();
- </script>
</body>
</html>

0 comments on commit 29ed5ab

Please sign in to comment.