Skip to content

Instantly share code, notes, and snippets.

@celaus
Last active February 2, 2016 10:59
Show Gist options
  • Save celaus/2d981a3ca3e0211714af to your computer and use it in GitHub Desktop.
Save celaus/2d981a3ca3e0211714af to your computer and use it in GitHub Desktop.
diff --git a/plugins/crate-admin/_site/index.html b/plugins/crate-admin/_site/index.html
index e930ce9..6025a44 100644
--- a/plugins/crate-admin/_site/index.html
+++ b/plugins/crate-admin/_site/index.html
@@ -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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment