#13 add piwik everywhere
Merged 3 years ago by robyduck. Opened 3 years ago by codeblock.
codeblock/fedora-websites piwik  into  master

add piwik everywhere
Ricky Elrod • 3 years ago  

@@ -28,4 +28,21 @@ 

      <script type="text/javascript" src="${path}/static/js/respond.min.js"></script>

      <![endif]-->

  

+     <!-- Piwik -->

+     <script type="text/javascript">

+       var _paq = _paq || [];

+       _paq.push(["setDomains", ["*.arm.fedoraproject.org"]]);

+       _paq.push(['trackPageView']);

+       _paq.push(['enableLinkTracking']);

+       (function() {

+         var u="//piwik.fedorainfracloud.org/piwik/";

+         _paq.push(['setTrackerUrl', u+'piwik.php']);

+         _paq.push(['setSiteId', 5]);

+         var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];

+         g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);

+       })();

+     </script>

+     <noscript><p><img src="//piwik.fedorainfracloud.org/piwik/piwik.php?idsite=5" style="border:0;" alt="" /></p></noscript>

+     <!-- End Piwik Code -->

+ 

  </html>

@@ -4,4 +4,22 @@ 

    xmlns:xi="http://www.w3.org/2001/XInclude"

    py:strip="">

    <script type="text/javascript" src="http://fedoraproject.org/static/js/banner.js"></script>

+ 

+   <!-- Piwik -->

+   <script type="text/javascript">

+     var _paq = _paq || [];

+     _paq.push(["setDomains", ["*.boot.fedoraproject.org"]]);

+     _paq.push(['trackPageView']);

+     _paq.push(['enableLinkTracking']);

+     (function() {

+       var u="//piwik.fedorainfracloud.org/piwik/";

+       _paq.push(['setTrackerUrl', u+'piwik.php']);

+       _paq.push(['setSiteId', 7]);

+       var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];

+       g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);

+     })();

+   </script>

+   <noscript><p><img src="//piwik.fedorainfracloud.org/piwik/piwik.php?idsite=7" style="border:0;" alt="" /></p></noscript>

+   <!-- End Piwik Code -->

+ 

  </html>

@@ -28,4 +28,21 @@ 

      <script type="text/javascript" src="${path}/static/js/respond.min.js"></script>

      <![endif]-->

  

+     <!-- Piwik -->

+     <script type="text/javascript">

+       var _paq = _paq || [];

+       _paq.push(["setDomains", ["*.budget.fedoraproject.org"]]);

+       _paq.push(['trackPageView']);

+       _paq.push(['enableLinkTracking']);

+       (function() {

+         var u="//piwik.fedorainfracloud.org/piwik/";

+         _paq.push(['setTrackerUrl', u+'piwik.php']);

+         _paq.push(['setSiteId', 8]);

+         var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];

+         g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);

+       })();

+     </script>

+     <noscript><p><img src="//piwik.fedorainfracloud.org/piwik/piwik.php?idsite=8" style="border:0;" alt="" /></p></noscript>

+     <!-- End Piwik Code -->

+ 

  </html>

@@ -7,4 +7,21 @@ 

  	<script type="text/javascript" src="${path}/static/js/jquery-ui.js"></script>

  	<script type="text/javascript" src="${path}/static/js/init.js"></script>

  	<script type="text/javascript" src="${path}/static/js/jquery-worldmap.js"></script>

+ 

+     <!-- Piwik -->

+     <script type="text/javascript">

+       var _paq = _paq || [];

+       _paq.push(["setDomains", ["*.fedoracommunity.org"]]);

+       _paq.push(['trackPageView']);

+       _paq.push(['enableLinkTracking']);

+       (function() {

+         var u="//piwik.fedorainfracloud.org/piwik/";

+         _paq.push(['setTrackerUrl', u+'piwik.php']);

+         _paq.push(['setSiteId', 9]);

+         var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];

+         g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);

+       })();

+     </script>

+     <noscript><p><img src="//piwik.fedorainfracloud.org/piwik/piwik.php?idsite=9" style="border:0;" alt="" /></p></noscript>

+     <!-- End Piwik Code -->

  </html>

@@ -28,4 +28,21 @@ 

          });

      });

    </script>

+ 

+   <!-- Piwik -->

+   <script type="text/javascript">

+     var _paq = _paq || [];

+     _paq.push(["setDomains", ["*.fedorahosted.org"]]);

+     _paq.push(['trackPageView']);

+     _paq.push(['enableLinkTracking']);

+     (function() {

+       var u="//piwik.fedorainfracloud.org/piwik/";

+       _paq.push(['setTrackerUrl', u+'piwik.php']);

+       _paq.push(['setSiteId', 10]);

+       var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];

+       g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);

+     })();

+   </script>

+   <noscript><p><img src="//piwik.fedorainfracloud.org/piwik/piwik.php?idsite=10" style="border:0;" alt="" /></p></noscript>

+   <!-- End Piwik Code -->

  </html>

@@ -53,6 +53,23 @@ 

          }

  

      </style>

+ 

+     <!-- Piwik -->

+     <script type="text/javascript">

+       var _paq = _paq || [];

+       _paq.push(["setDomains", ["*.fedorapeople.org"]]);

+       _paq.push(['trackPageView']);

+       _paq.push(['enableLinkTracking']);

+       (function() {

+         var u="//piwik.fedorainfracloud.org/piwik/";

+         _paq.push(['setTrackerUrl', u+'piwik.php']);

+         _paq.push(['setSiteId', 11]);

+         var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];

+         g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);

+       })();

+     </script>

+     <noscript><p><img src="//piwik.fedorainfracloud.org/piwik/piwik.php?idsite=11" style="border:0;" alt="" /></p></noscript>

+     <!-- End Piwik Code -->

    </head>

    <body>

      <div id="wrapper">

@@ -12,4 +12,20 @@ 

      <script type="text/javascript" src="${path}/static/js/jquery.tweet.js"></script>

      <script type="text/javascript" src="${path}/static/js/sponsor.js"></script>

      <script type="text/javascript" src="${path}/static/js/init.js"></script>

+     <!-- Piwik -->

+     <script type="text/javascript">

+       var _paq = _paq || [];

+       _paq.push(["setDomains", ["*.fedoraproject.org"]]);

+       _paq.push(['trackPageView']);

+       _paq.push(['enableLinkTracking']);

+       (function() {

+         var u="//piwik.fedorainfracloud.org/piwik/";

+         _paq.push(['setTrackerUrl', u+'piwik.php']);

+         _paq.push(['setSiteId', 12]);

+         var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];

+         g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);

+       })();

+     </script>

+     <noscript><p><img src="//piwik.fedorainfracloud.org/piwik/piwik.php?idsite=12" style="border:0;" alt="" /></p></noscript>

+     <!-- End Piwik Code -->

  </html>

@@ -25,4 +25,21 @@ 

      <script type="text/javascript" src="${path}/static/js/respond.min.js"></script>

      <![endif]-->

  

+     <!-- Piwik -->

+     <script type="text/javascript">

+       var _paq = _paq || [];

+       _paq.push(["setDomains", ["*.flocktofedora.org"]]);

+       _paq.push(['trackPageView']);

+       _paq.push(['enableLinkTracking']);

+       (function() {

+         var u="//piwik.fedorainfracloud.org/piwik/";

+         _paq.push(['setTrackerUrl', u+'piwik.php']);

+         _paq.push(['setSiteId', 6]);

+         var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];

+         g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);

+       })();

+     </script>

+     <noscript><p><img src="//piwik.fedorainfracloud.org/piwik/piwik.php?idsite=6" style="border:0;" alt="" /></p></noscript>

+     <!-- End Piwik Code -->

+ 

  </html>

@@ -6,4 +6,20 @@ 

  	<!--

  	<script type="text/javascript" src="http://fedoraproject.org/static/js/banner.js"></script>

  	-->

+     <!-- Piwik -->

+     <script type="text/javascript">

+       var _paq = _paq || [];

+       _paq.push(["setDomains", ["*.fudcon.fedoraproject.org"]]);

+       _paq.push(['trackPageView']);

+       _paq.push(['enableLinkTracking']);

+       (function() {

+         var u="//piwik.fedorainfracloud.org/piwik/";

+         _paq.push(['setTrackerUrl', u+'piwik.php']);

+         _paq.push(['setSiteId', 13]);

+         var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];

+         g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);

+       })();

+     </script>

+     <noscript><p><img src="//piwik.fedorainfracloud.org/piwik/piwik.php?idsite=13" style="border:0;" alt="" /></p></noscript>

+     <!-- End Piwik Code -->

  </html>

@@ -35,4 +35,21 @@ 

      <script type="text/javascript" src="${path}/static/js/respond.min.js"></script>

      <![endif]-->

  

+     <!-- Piwik -->

+     <script type="text/javascript">

+       var _paq = _paq || [];

+       _paq.push(["setDomains", ["*.getfedora.org"]]);

+       _paq.push(['trackPageView']);

+       _paq.push(['enableLinkTracking']);

+       (function() {

+         var u="//piwik.fedorainfracloud.org/piwik/";

+         _paq.push(['setTrackerUrl', u+'piwik.php']);

+         _paq.push(['setSiteId', 4]);

+         var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];

+         g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);

+       })();

+     </script>

+     <noscript><p><img src="//piwik.fedorainfracloud.org/piwik/piwik.php?idsite=4" style="border:0;" alt="" /></p></noscript>

+     <!-- End Piwik Code -->

+ 

  </html>

@@ -26,4 +26,22 @@ 

      <script type="text/javascript" src="${path}/static/js/respond.min.js"></script>

      <![endif]-->

  

+     <!-- Piwik -->

+     <script type="text/javascript">

+       var _paq = _paq || [];

+       _paq.push(["setDomains", ["*.labs.fedoraproject.org"]]);

+       _paq.push(['trackPageView']);

+       _paq.push(['enableLinkTracking']);

+       (function() {

+         var u="//piwik.fedorainfracloud.org/piwik/";

+         _paq.push(['setTrackerUrl', u+'piwik.php']);

+         _paq.push(['setSiteId', 14]);

+         var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];

+         g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);

+       })();

+     </script>

+     <noscript><p><img src="//piwik.fedorainfracloud.org/piwik/piwik.php?idsite=14" style="border:0;" alt="" /></p></noscript>

+     <!-- End Piwik Code -->

+ 

+ 

  </html>

@@ -26,4 +26,21 @@ 

      <script type="text/javascript" src="${path}/static/js/respond.min.js"></script>

      <![endif]-->

  

+     <!-- Piwik -->

+     <script type="text/javascript">

+       var _paq = _paq || [];

+       _paq.push(["setDomains", ["*.spins.fedoraproject.org"]]);

+       _paq.push(['trackPageView']);

+       _paq.push(['enableLinkTracking']);

+       (function() {

+         var u="//piwik.fedorainfracloud.org/piwik/";

+         _paq.push(['setTrackerUrl', u+'piwik.php']);

+         _paq.push(['setSiteId', 15]);

+         var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];

+         g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);

+       })();

+     </script>

+     <noscript><p><img src="//piwik.fedorainfracloud.org/piwik/piwik.php?idsite=15" style="border:0;" alt="" /></p></noscript>

+     <!-- End Piwik Code -->

+ 

  </html>

@@ -14,4 +14,21 @@ 

      <script type="text/javascript" src="${path}/static/js/respond.min.js"></script>

      <![endif]-->

  

+     <!-- Piwik -->

+     <script type="text/javascript">

+       var _paq = _paq || [];

+       _paq.push(["setDomains", ["*.start.fedoraproject.org"]]);

+       _paq.push(['trackPageView']);

+       _paq.push(['enableLinkTracking']);

+       (function() {

+         var u="//piwik.fedorainfracloud.org/piwik/";

+         _paq.push(['setTrackerUrl', u+'piwik.php']);

+         _paq.push(['setSiteId', 3]);

+         var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];

+         g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);

+       })();

+     </script>

+     <noscript><p><img src="//piwik.fedorainfracloud.org/piwik/piwik.php?idsite=3" style="border:0;" alt="" /></p></noscript>

+     <!-- End Piwik Code -->

+ 

  </html>