Subversion Repositories eFlore/Applications.cel

Rev

Rev 2816 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2816 Rev 2847
Line 36... Line 36...
36
 
36
 
Line 37... Line 37...
37
		<title>Statistiques du Carnet En Ligne</title>
37
		<title>Statistiques du Carnet En Ligne</title>
38
 
38
 
39
		<!-- Stats : Google Analytics -->
-
 
40
		<script>
39
		<!-- Stats : Google Analytics -->
41
		  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
-
 
42
		  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
-
 
43
		  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
-
 
44
		  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
40
		<script>
45
		
41
			// répercussion de la config PHP pour ne solliciter GA qu'en prod
46
		  ga('create', 'UA-20092557-1', 'auto');
42
			var prod = false;
47
		  ga('require', 'displayfeatures');
-
 
48
		  ga('send', 'pageview');
43
			<?php if ($prod): ?>
Line -... Line 44...
-
 
44
				prod = true;
-
 
45
			<?php endif; ?>
-
 
46
 
-
 
47
			if (prod) {
-
 
48
			  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
-
 
49
			  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
-
 
50
			  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
-
 
51
			  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
-
 
52
			
49
		
53
			  ga('create', 'UA-57885-8', 'auto');
Line 50... Line 54...
50
		</script>
54
			}
51
 
55
		</script>
52
	</head>
56
	</head>