add analytics to all dygraphs pages
[dygraphs.git] / docs / annotations.html
index 8e3ad4f..b0281f6 100644 (file)
   <p>Again, check out the <a href="tests/annotation.html">annotations demo</a>
   for concrete examples of usage of all these handlers.</p>
 
+  <!-- Google Analytics -->
+<script type="text/javascript">
+  var _gaq = _gaq || [];
+  _gaq.push(['_setAccount', 'UA-769809-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>
+
   </body>
 </html>