Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added Google Analytics tracking.

  • Loading branch information...
commit 79c3878ab22ec9c7dcd35707e1c54f07f406b049 1 parent 62ba8a9
Alex Komoroske authored
Showing with 26 additions and 0 deletions.
  1. +13 −0 static/robohornet.html
  2. +13 −0 vote.html
View
13 static/robohornet.html
@@ -54,5 +54,18 @@
<script>
var __robohornet__ = new robohornet.Runner(ROBOHORNET_DATA);
</script>
+ <script type="text/javascript">
+
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-34237734-1']);
+ _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>
View
13 vote.html
@@ -31,5 +31,18 @@
</form>
{% endif %}
{% endif %}
+ <script type="text/javascript">
+
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-34237734-1']);
+ _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>
Please sign in to comment.
Something went wrong with that request. Please try again.