updating piwik / matomo tracking code
[ryf-theme.git] / modules / footer / templates / footer.html.twig
1
2 <div class="container copyright">
3         <p>Send your feedback on our translations and new translations of pages to <a href="mailto:campaigns@fsf.org">campaigns@fsf.org</a>.</p>
4
5         <p>Copyright © 2013–{{ "now"|date("Y") }} <a href="//fsf.org/about/contact.html" title="Find out how to contact us">Free Software Foundation</a>, Inc.
6         <a href="https://www.fsf.org/about/free-software-foundation-privacy-policy">Privacy Policy</a>, <a href="/weblabels" rel="jslicense">JavaScript license information</a>
7         </p>
8
9         <p>This work is licensed under a <a href="https://creativecommons.org/licenses/by-nd/3.0/">Creative
10                                 Commons Attribution-No Derivative Works 3.0 license (or later
11                                 version)</a> — <a href="https://www.gnu.org/licenses/license-list.html#OpinionLicenses">Why this license?</a>
12         </p>
13 </div>
14
15
16 <!-- Matomo -->
17 <script type="text/javascript">
18   // @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&dn=gpl-3.0.txt GPL-3.0-or-later
19   var _paq = window._paq = window._paq || [];
20   /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
21   _paq.push(['trackPageView']);
22   _paq.push(['enableLinkTracking']);
23   (function() {
24     var u="https://piwik.fsf.org/";
25     _paq.push(['setTrackerUrl', u+'matomo.php']);
26     _paq.push(['setSiteId', '17']);
27     var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
28     g.type='text/javascript'; g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
29   })();
30   // @license-end
31 </script>
32 <noscript><img src="https://piwik.fsf.org/matomo.php?idsite=17&amp;rec=1" style="border:0;" alt="" /></noscript>
33 <!-- End Matomo Code -->
34