chore: disable Matomo

pull/13/head
Nicolas Doby 2023-03-03 17:43:10 +01:00
parent c58ebadaf6
commit bb668cf356
1 changed files with 17 additions and 17 deletions

View File

@ -11,23 +11,23 @@
<link rel="alternate" href="/blog/feed/feed.xml" type="application/atom+xml" title="{{ metadata.title }}">
<link rel="alternate" href="/blog/feed/feed.json" type="application/json" title="{{ metadata.title }}">
<link rel="icon" href="/blog_images/favicon.svg">
{% if "ELEVENTY_ENV" | env == "production"%}
<!-- Matomo -->
<script>
var _paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="https://itsonus.matomo.cloud/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '1']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.async=true; g.src='//cdn.matomo.cloud/itsonus.matomo.cloud/matomo.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<!-- End Matomo Code -->
{% endif %}
{# {% if "ELEVENTY_ENV" | env == "production"%}#}
{# <!-- Matomo -->#}
{# <script>#}
{# var _paq = window._paq || [];#}
{# /* tracker methods like "setCustomDimension" should be called before "trackPageView" */#}
{# _paq.push(['trackPageView']);#}
{# _paq.push(['enableLinkTracking']);#}
{# (function() {#}
{# var u="https://itsonus.matomo.cloud/";#}
{# _paq.push(['setTrackerUrl', u+'matomo.php']);#}
{# _paq.push(['setSiteId', '1']);#}
{# var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];#}
{# g.async=true; g.src='//cdn.matomo.cloud/itsonus.matomo.cloud/matomo.js'; s.parentNode.insertBefore(g,s);#}
{# })();#}
{# </script>#}
{# <!-- End Matomo Code -->#}
{# {% endif %}#}
</head>
<body class="container">
<header class="main-header">