Commit 7f821271 authored by Hermann Krumrey's avatar Hermann Krumrey

Add matomo tracking

parent c9a6581c
Pipeline #1879 passed with stages
in 4 minutes and 18 seconds
......@@ -36,4 +36,21 @@ along with fat-ffipd. If not, see <http://www.gnu.org/licenses/>.
{% block head %}{% endblock %}
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Matomo -->
<script type="text/javascript">
var _paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="https://matomo.namibsun.net/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '1']);
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+'matomo.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<!-- End Matomo Code -->
</head>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment