Template:Team:Aberdeen Scotland/JS

From 2014.igem.org

(Difference between revisions)
Line 7: Line 7:
document.title = "Aberdeen Scotland - 2014.igem.org";
document.title = "Aberdeen Scotland - 2014.igem.org";
};
};
 +
 +
(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-53081755-1', 'auto');
 +
ga('send', 'pageview');

Revision as of 09:48, 22 July 2014

// CHANGE TITLE var ind = document.title.lastIndexOf("/"); if (ind > 0) { var DocTitle = document.title.substring(document.title.lastIndexOf("/")+1,document.title.indexOf("-")); document.title = DocTitle + " - Aberdeen Scotland - 2014.igem.org"; } else { document.title = "Aberdeen Scotland - 2014.igem.org"; };

(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-53081755-1', 'auto'); ga('send', 'pageview');