Skip to content
Snippets Groups Projects
Commit 2aea907f authored by Jakub Ružička's avatar Jakub Ružička
Browse files

Add Matomo tracking code

parent 16b9344f
Branches
Tags v1.5.0
No related merge requests found
......@@ -16,6 +16,21 @@ fetch('repos.json').then(res => res.json()).then(res => {
on_data_loaded();
});
">
<!-- Matomo -->
<script>
var _paq = window._paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="https://matomo.nic.cz/";
_paq.push(['setTrackerUrl', u+'piwik.php']);
_paq.push(['setSiteId', '82']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.async=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<!-- End Matomo Code -->
<header>
<h1>CZ.NIC Labs 📦 Repos Setup Docs</h1>
......
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