standardize piwik
authorGreg Farough <gregf@gnu.org>
Thu, 6 Aug 2020 21:54:09 +0000 (17:54 -0400)
committerGreg Farough <gregf@gnu.org>
Thu, 6 Aug 2020 21:54:09 +0000 (17:54 -0400)
v7beta/givingguide.html

index ff6e959..19c8004 100755 (executable)
               </div>
             </div>
 
-            <script type="text/javascript" src="js/piwik.js"></script>
+        <!-- Piwik -->
+        <script type="text/javascript">
+        // @license magnet:?xt=urn:btih:c80d50af7d3db9be66a4d0a86db0286e4fd33292&dn=bsd-3-clause.txt
+        var pkBaseURL = (("https:" == document.location.protocol) ? "https://piwik.fsf.org/" : "http://piwik.fsf.org/");
+        document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
+        try {
+          var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 14);
+          piwikTracker.trackPageView();
+          piwikTracker.enableLinkTracking();
+        } catch (err) {}
+        // @license-end
+        </script><noscript><p><img src="//piwik.fsf.org/piwik.php?idsite=14" style="border:0" alt="" /></p></noscript>
+        <!-- End Piwik Tracking Code -->
           </footer>
 
         </body>