remove tracer V04.000
authorYves-Marie Haussonne <1218002+ymph@users.noreply.github.com>
Mon, 16 Feb 2015 14:12:12 +0100
changeset 1199 bba2a67b9da2
parent 1198 ff4b567d51f2
child 1200 c8803e07d797
remove tracer
web/player_embed.php
web/polemicaltimeline.php
--- a/web/player_embed.php	Sun Feb 15 00:43:16 2015 +0100
+++ b/web/player_embed.php	Mon Feb 16 14:12:12 2015 +0100
@@ -92,18 +92,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">
 		body{
 			padding:0px;
--- a/web/polemicaltimeline.php	Sun Feb 15 00:43:16 2015 +0100
+++ b/web/polemicaltimeline.php	Mon Feb 16 14:12:12 2015 +0100
@@ -72,7 +72,6 @@
     <script type="text/javascript" src="<?php echo(registry_url('fancybox','js'));?>"></script>
     <script type="text/javascript" src="<?php echo(registry_url('jquery-url','js'));?>"></script>
     <script type="text/javascript" src="<?php echo(registry_url('metadataplayer','js'));?>"></script>
-    <script type="text/javascript" src="<?php echo(registry_url('tracemanager','js'));?>"></script>
 
     <!-- Framework CSS -->
     <link rel="stylesheet" href="<?php echo(registry_url('tweetcast','css'));?>" type="text/css" media="screen, projection"/>
@@ -108,17 +107,6 @@
         _cookiematches = document.cookie.match(/PHPSESSID=([A-Za-z0-9]+)/),
         _cookie = (_cookiematches && _cookiematches.length > 1 ? _cookiematches[1] : undefined);
 
-    var _tracer = tracemanager.init_trace("test", {
-            url: "http://trail.dev.fabelier.org/",
-            requestmode: "GET",
-            syncmode: "sync",
-            default_subject: "PolemicTweet"
-        });
-    _tracer.trace("Pt_LoadPage", {
-        cookie: _cookie,
-        url: document.location.href
-    });
-
     IriSP.libFiles.defaultDir = "<?php echo(registry_url('libdir','js'));?>";
     IriSP.widgetsDir = "<?php echo(registry_url('ldtwidgets','js'));?>";
     IriSP.libFiles.locations.jwPlayerSWF = "<?php echo(URL_ROOT); ?>res/mediaplayer/player.swf";
@@ -197,15 +185,6 @@
             },
 <?php endif; ?>
             { type: "Mediafragment"},
-            {
-                type: "Trace",
-                tracer: _tracer,
-                extend: {
-                    cookie: _cookie,
-                    url: document.location.href
-                },
-                js_console: false
-            }
         ]
     };
 
@@ -230,7 +209,6 @@
                     cookie: _cookie,
                     protocol_level: _protocol_level
                 };
-            _tracer.trace("Pt_SendForm", _data);
             return false;
         });
 <?php endif; ?>
@@ -261,9 +239,6 @@
             transitionIn: "none",
             transitionOut: "none"
         });
-        jQuery(".embedbutton").click(function() {
-            _tracer.trace("Pt_EmbedButtonClicked");
-        });
         jQuery(".acctitre").click(function() {
             var _nx = jQuery(this).next();
             if (_nx.is(":hidden")) {