Remove google analytics V08.001
authorymh <ymh.work@gmail.com>
Tue, 03 Sep 2024 11:44:24 +0200
changeset 1560 d441b50586ba
parent 1559 796b49572291
child 1561 f78edcf1bee6
Remove google analytics
web/about.php
web/archives-iframe.php
web/archives.php
web/client.php
web/embed_form.php
web/index.php
web/live_embed_form.php
web/player_embed.php
web/polemicaltimeline.php
web/renkan.php
web/select.php
web/tweetwall.php
--- a/web/about.php	Tue Sep 03 11:13:36 2024 +0200
+++ b/web/about.php	Tue Sep 03 11:44:24 2024 +0200
@@ -29,20 +29,6 @@
 	    .footer {margin-top:980px;}
 	</style>
 
-	<script type="text/javascript">
-
-	  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>
 	<!--div id="sendUsFeedBack"><a href="<?php echo($C_feedback_form_url); ?>" target="_blank"><img src="<?php echo(URL_ROOT); ?>images/sendusfeedback.png"></a></div-->
--- a/web/archives-iframe.php	Tue Sep 03 11:13:36 2024 +0200
+++ b/web/archives-iframe.php	Tue Sep 03 11:44:24 2024 +0200
@@ -63,17 +63,6 @@
             startTimer();
             $("a").attr("target", "_blank");
         });
-
-        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>
--- a/web/archives.php	Tue Sep 03 11:13:36 2024 +0200
+++ b/web/archives.php	Tue Sep 03 11:44:24 2024 +0200
@@ -56,17 +56,6 @@
         });
         <?php } ?>
 
-		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/client.php	Tue Sep 03 11:13:36 2024 +0200
+++ b/web/client.php	Tue Sep 03 11:44:24 2024 +0200
@@ -286,22 +286,6 @@
         // End -->
 
     </script>
-
-    <script type="text/javascript">
-
-      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<?php if ($embed) { echo ' class="embed"'; } ?>>
     <!--div id="sendUsFeedBack"><a href="<?php echo($C_feedback_form_url); ?>" target="_blank"><img src="<?php echo(URL_ROOT); ?>images/sendusfeedback.png"></a></div-->
--- a/web/embed_form.php	Tue Sep 03 11:13:36 2024 +0200
+++ b/web/embed_form.php	Tue Sep 03 11:44:24 2024 +0200
@@ -39,21 +39,6 @@
 			font-size: 12px;
 		}
 	</style>
-	<script type="text/javascript">
-	
-	  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>
   
   <h1 class="tweetWriterTitle" style="width:300px;" > <?php print $translate->_("EmbedTitle"); ?></h1>
--- a/web/index.php	Tue Sep 03 11:13:36 2024 +0200
+++ b/web/index.php	Tue Sep 03 11:44:24 2024 +0200
@@ -105,19 +105,6 @@
 
 		
 	</script>
-	<script type="text/javascript">
-	
-	  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>
 	<!--div id="sendUsFeedBack"><a href="<?php echo($C_feedback_form_url); ?>" target="_blank"><img src="<?php echo(URL_ROOT); ?>images/sendusfeedback.png"></a></div-->
--- a/web/live_embed_form.php	Tue Sep 03 11:13:36 2024 +0200
+++ b/web/live_embed_form.php	Tue Sep 03 11:44:24 2024 +0200
@@ -38,21 +38,6 @@
 			border:solid 1px #ccc;
 		}
 	</style>
-	<script type="text/javascript">
-	
-	  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>
   
   <h1 class="tweetWriterTitle" style="width:300px;" > <?php print $translate->_("EmbedTitle"); ?></h1>
--- a/web/player_embed.php	Tue Sep 03 11:13:36 2024 +0200
+++ b/web/player_embed.php	Tue Sep 03 11:44:24 2024 +0200
@@ -114,18 +114,6 @@
     	    margin-bottom: 2px;
     	}
 	</style>
-	<script type="text/javascript">
-		var _gaq = _gaq || [];
-		_gaq.push(['_setAccount', 'UA-23581291-1']);
-		_gaq.push(['_trackPageview', location.pathname + location.search + location.hash]);
-		_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>
 
         <div id="LdtPlayer"></div>
--- a/web/polemicaltimeline.php	Tue Sep 03 11:13:36 2024 +0200
+++ b/web/polemicaltimeline.php	Tue Sep 03 11:44:24 2024 +0200
@@ -296,18 +296,6 @@
 
     });
     </script>
-    <script type="text/javascript">
-        var _gaq = _gaq || [];
-        _gaq.push(['_setAccount', 'UA-23581291-1']);
-        _gaq.push(['_trackPageview', location.pathname + location.search + location.hash]);
-        _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>
   <!--div id="sendUsFeedBack"><a href="<?php echo($C_feedback_form_url); ?>" target="_blank"><img src="<?php echo(URL_ROOT); ?>images/sendusfeedback.png"></a></div-->
--- a/web/renkan.php	Tue Sep 03 11:13:36 2024 +0200
+++ b/web/renkan.php	Tue Sep 03 11:44:24 2024 +0200
@@ -101,18 +101,6 @@
     };
     
     </script>
-    <script type="text/javascript">
-        var _gaq = _gaq || [];
-        _gaq.push(['_setAccount', 'UA-23581291-1']);
-        _gaq.push(['_trackPageview', location.pathname + location.search + location.hash]);
-        _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>
     <style type="text/css">
         .ldtrenkan-main {
             width: 1160px; margin: 0 auto; min-height: 400px; clear:both;
--- a/web/select.php	Tue Sep 03 11:13:36 2024 +0200
+++ b/web/select.php	Tue Sep 03 11:44:24 2024 +0200
@@ -65,21 +65,6 @@
     <!-- JAVASCRIPT -->
     <script type="text/javascript" src="<?php echo(registry_url('jquery','js'))?>"></script>
     
-    <script type="text/javascript">
-    
-      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>
     <!--div id="sendUsFeedBack"><a href="<?php echo($C_feedback_form_url); ?>" target="_blank"><img src="<?php echo(URL_ROOT); ?>images/sendusfeedback.png"></a></div-->
--- a/web/tweetwall.php	Tue Sep 03 11:13:36 2024 +0200
+++ b/web/tweetwall.php	Tue Sep 03 11:44:24 2024 +0200
@@ -52,23 +52,7 @@
     </script>
     <?php if (isset($_SESSION['SOCIAL_ACCESS_TOKEN'])) { ?>
     <script type="text/javascript" src="<?php echo(registry_url('twcx-main','js'))?>"></script>
-    <?php } ?>
-
-    <script type="text/javascript">
-    
-      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>
-    
+    <?php } ?>    
   </head>
   <body class="tweetwall">