Skip to content

Instantly share code, notes, and snippets.

@celaus
Created February 1, 2016 15:50
Show Gist options
  • Save celaus/784884e45a5d0bbe63d9 to your computer and use it in GitHub Desktop.
Save celaus/784884e45a5d0bbe63d9 to your computer and use it in GitHub Desktop.
--- index.orig.html 2016-02-01 16:41:32.000000000 +0100
+++ index.html 2016-02-01 16:49:34.000000000 +0100
@@ -44,6 +44,26 @@
<div id="page-viewport" ng-view=""></div>
</div>
</div>
+ <!-- Begin Analytics-->
+<!-- Google Analytics Start -->
+<script>
+ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+ m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+ })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+ ga('create', 'UA-46278040-1', 'auto');
+ ga('send', 'pageview');
+</script>
+<!-- Google Analytics End -->
+<!-- Crate UDC -->
+<script>
+(function(w,d,s,u){
+var a=document.createElement(s); a.type="text/javascript", a.id='crate-utils', a.async=1, a.src=('https:'===document.location.protocol?'https:':'http:')+u;
+var n=document.getElementsByTagName(s)[0]; n.parentNode.insertBefore(a,n);
+})(window, document, 'script', '//cdn.crate.io/libs/crate/utils.js');
+</script>
+<!-- Crate UDC End -->
+<!-- End Analytics -->
</body>
-</html>
\ No newline at end of file
+</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment