Browse code

Adición de analítica

NikaZhenya authored on 15/03/2017 23:21:11
Showing 1 changed files
... ...
@@ -9,20 +9,20 @@
9 9
         <link rel="shortcut icon" href="favicon.ico">
10 10
         <link type="text/css" rel="stylesheet" href="jsterm/css/styles.css">
11 11
         <!-- Piwik -->
12
-        <script type="text/javascript">
13
-            var _paq = _paq || [];
14
-            _paq.push(['trackPageView']);
15
-            _paq.push(['enableLinkTracking']);
16
-            (function() {
17
-                var u="//analytics.cliteratu.re/";
18
-                _paq.push(['setTrackerUrl', u+'piwik.php']);
19
-                _paq.push(['setSiteId', '1']);
20
-                var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
21
-                g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
22
-            })();
23
-        </script>
24
-        <noscript><p><img src="//analytics.cliteratu.re/piwik.php?idsite=1" style="border:0;" alt="" /></p></noscript>
25
-        <!-- End Piwik Code -->
12
+		<script type="text/javascript">
13
+			var _paq = _paq || [];
14
+			/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
15
+			_paq.push(['trackPageView']);
16
+			_paq.push(['enableLinkTracking']);
17
+			(function() {
18
+				var u="//analytics.cliteratu.re/";
19
+				_paq.push(['setTrackerUrl', u+'piwik.php']);
20
+				_paq.push(['setSiteId', '1']);
21
+				var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
22
+				g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
23
+			})();
24
+		</script>
25
+		<!-- End Piwik Code -->
26 26
     </head>
27 27
     <body>
28 28
         <script type="text/javascript" src="jsterm/texts/auxiliar.js"></script>