Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Use new Google Analytics code.

  • Loading branch information...
commit 29ed5abda520393010b2b66bfd402fd58c2e870c 1 parent ee4e29f
@tuupola authored
View
19 disabled.html
@@ -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
17 enabled.html
@@ -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
18 enabled_container.html
@@ -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
18 enabled_fadein.html
@@ -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
18 enabled_gazillion.html
@@ -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
18 enabled_noscript.html
@@ -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
20 enabled_timeout.html
@@ -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
18 enabled_wide.html
@@ -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>
View
18 enabled_wide_container.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>
Please sign in to comment.
Something went wrong with that request. Please try again.