Team:SDU-Denmark/core/header

From 2013.igem.org

(Difference between revisions)
 
Line 15: Line 15:
   (function() {
   (function() {
     var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
     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';
+
     ga.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'stats.g.doubleclick.net/dc.js';
     var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
     var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
   })();
   })();

Latest revision as of 20:33, 10 December 2013