_setAllowAnchor
authorSamuel Huron <samuel.huron@centrepompidou.fr>
Thu, 15 Sep 2011 23:35:31 +0200
changeset 276 f7669b499d41
parent 267 c0f6086290fd
child 277 f6ea88117c5c
_setAllowAnchor
web/about.php
web/archives.php
web/client.php
web/embed_form.php
web/index.php
web/player_embed.php
web/polemicaltimeline.php
web/res/metadataplayer.polemic/src/js/polemic.js
--- a/web/about.php	Tue Sep 06 19:11:37 2011 +0200
+++ b/web/about.php	Thu Sep 15 23:35:31 2011 +0200
@@ -35,6 +35,7 @@
 	  var _gaq = _gaq || [];
 	  _gaq.push(['_setAccount', 'UA-23581291-1']);
 	  _gaq.push(['_trackPageview']);
+	  _gaq.push(['_setAllowAnchor', true]); 
 	
 	  (function() {
 	    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
--- a/web/archives.php	Tue Sep 06 19:11:37 2011 +0200
+++ b/web/archives.php	Thu Sep 15 23:35:31 2011 +0200
@@ -44,7 +44,8 @@
 		var _gaq = _gaq || [];
 		_gaq.push(['_setAccount', 'UA-23581291-1']);
 		_gaq.push(['_trackPageview']);
-		
+		_gaq.push(['_setAllowAnchor', true]); 
+	  
 		(function() {
 		    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';
--- a/web/client.php	Tue Sep 06 19:11:37 2011 +0200
+++ b/web/client.php	Thu Sep 15 23:35:31 2011 +0200
@@ -224,6 +224,7 @@
 	  var _gaq = _gaq || [];
 	  _gaq.push(['_setAccount', 'UA-23581291-1']);
 	  _gaq.push(['_trackPageview']);
+	  _gaq.push(['_setAllowAnchor', true]); 
 	
 	  (function() {
 	    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
--- a/web/embed_form.php	Tue Sep 06 19:11:37 2011 +0200
+++ b/web/embed_form.php	Thu Sep 15 23:35:31 2011 +0200
@@ -44,6 +44,8 @@
 	  var _gaq = _gaq || [];
 	  _gaq.push(['_setAccount', 'UA-23581291-1']);
 	  _gaq.push(['_trackPageview']);
+	  _gaq.push(['_setAllowAnchor', true]); 
+	
 	
 	  (function() {
 	    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
--- a/web/index.php	Tue Sep 06 19:11:37 2011 +0200
+++ b/web/index.php	Thu Sep 15 23:35:31 2011 +0200
@@ -93,13 +93,13 @@
 	  var _gaq = _gaq || [];
 	  _gaq.push(['_setAccount', 'UA-23581291-1']);
 	  _gaq.push(['_trackPageview']);
+	  _gaq.push(['_setAllowAnchor', true]); 
 	
 	  (function() {
 	    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';
 	    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
-	  })();
-	
+	})();
 	</script>
   </head>
   <body>
--- a/web/player_embed.php	Tue Sep 06 19:11:37 2011 +0200
+++ b/web/player_embed.php	Thu Sep 15 23:35:31 2011 +0200
@@ -74,6 +74,8 @@
 	  var _gaq = _gaq || [];
 	  _gaq.push(['_setAccount', 'UA-23581291-1']);
 	  _gaq.push(['_trackPageview']);
+	  _gaq.push(['_setAllowAnchor', true]); 
+	
 	
 	  (function() {
 	    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
--- a/web/polemicaltimeline.php	Tue Sep 06 19:11:37 2011 +0200
+++ b/web/polemicaltimeline.php	Thu Sep 15 23:35:31 2011 +0200
@@ -161,7 +161,8 @@
 		var _gaq = _gaq || [];
 		_gaq.push(['_setAccount', 'UA-23581291-1']);
 		_gaq.push(['_trackPageview']);
-		
+		_gaq.push(['_setAllowAnchor', true]); 
+	  
 		(function() {
 		    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';
--- a/web/res/metadataplayer.polemic/src/js/polemic.js	Tue Sep 06 19:11:37 2011 +0200
+++ b/web/res/metadataplayer.polemic/src/js/polemic.js	Thu Sep 15 23:35:31 2011 +0200
@@ -383,13 +383,13 @@
 		}
 		function Report(){
 			console.log("_______________________________");
-			console.log("Total de tweets   : "+numberOfTweet)
-			console.log("Total de tweets P : "+(numberOfTweet-qTweet_0))
-			console.log("question     : "+pourcent(qTweet_Q,numberOfTweet)+" %");
-			console.log("reference    : "+pourcent(qTweet_REF,numberOfTweet)+" %");
-			console.log("accord       : "+pourcent(qTweet_OK,numberOfTweet)+" %");
-			console.log("desaccord    : "+pourcent(qTweet_KO,numberOfTweet)+" %");
-			console.log("sans polemic : "+pourcent(qTweet_0,numberOfTweet)+" %");
+			console.log("Total de tweets   	: "+numberOfTweet)
+			console.log("Total de tweets P 	: "+(numberOfTweet-qTweet_0)+" 	"+ pourcent((numberOfTweet-qTweet_0),numberOfTweet)+"%")
+			console.log("accord       		: "+qTweet_OK+" 	"+pourcent(qTweet_OK,numberOfTweet)+" %");
+			console.log("desaccord    		: "+qTweet_KO+" 	"+pourcent(qTweet_KO,numberOfTweet)+" %");
+			console.log("question     		: "+qTweet_Q+" 	"+pourcent(qTweet_Q,numberOfTweet)+" %");
+			console.log("reference    		: "+qTweet_REF+" 	"+pourcent(qTweet_REF,numberOfTweet)+" %");
+			console.log("sans polemic 		: "+qTweet_0+" 	"+pourcent(qTweet_0,numberOfTweet)+" %");
 			numberUserUsePolemic();
 			tweetsStats();
 		}