piwik.html 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <!-- Piwik -->
  2. <script type="text/javascript">
  3. /** @licstart The following is the entire license notice for the
  4. * JavaScript code in this page.
  5. *
  6. * Copyright: (c) 2011-2015 Sébastien SAUVAGE <sebsauvage@sebsauvage.net>
  7. * (c) 2011-2017 The Shaarli Community, see AUTHORS
  8. *
  9. * This software is provided 'as-is', without any express or implied warranty.
  10. * In no event will the authors be held liable for any damages arising from
  11. * the use of this software.
  12. *
  13. * Permission is granted to anyone to use this software for any purpose,
  14. * including commercial applications, and to alter it and redistribute it
  15. * freely, subject to the following restrictions:
  16. *
  17. * 1. The origin of this software must not be misrepresented; you must not
  18. * claim that you wrote the original software. If you use this software
  19. * in a product, an acknowledgment in the product documentation would
  20. * be appreciated but is not required.
  21. *
  22. * 2. Altered source versions must be plainly marked as such, and must
  23. * not be misrepresented as being the original software.
  24. *
  25. * 3. This notice may not be removed or altered from any source distribution.
  26. *
  27. * @licend The above is the entire license notice
  28. * for the JavaScript code in this page.
  29. */
  30. var _paq = _paq || [];
  31. _paq.push(['trackPageView']);
  32. _paq.push(['enableLinkTracking']);
  33. (function() {
  34. var u="%s/";
  35. _paq.push(['setTrackerUrl', u+'piwik.php']);
  36. _paq.push(['setSiteId', '%s']);
  37. var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
  38. g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
  39. })();
  40. </script>
  41. <noscript><p><img src="%s/piwik.php?idsite=%s" style="border:0;" alt="" /></p></noscript>
  42. <!-- End Piwik Code -->