Browse Source

Added analytics to examples too.

Mr.doob 11 years ago
parent
commit
638e57650d
1 changed files with 13 additions and 0 deletions
  1. 13 0
      examples/index.html

+ 13 - 0
examples/index.html

@@ -90,6 +90,19 @@
 		</style>
 	</head>
 	<body>
+		<script type="text/javascript">
+
+		  var _gaq = _gaq || [];
+		  _gaq.push(['_setAccount', 'UA-86951-15']);
+		  _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>
 
 		<div id="panel">
 			<div id="list">