Replace Matomo tracking script with Umami
This commit is contained in:
parent
b0bed72a17
commit
02a9ab387c
1 changed files with 8 additions and 14 deletions
|
@ -14,22 +14,16 @@
|
|||
|
||||
{# JavaScript #}
|
||||
{% block scripts %}
|
||||
<script src="build/app.js" defer></script>
|
||||
<script src="build/app.js"
|
||||
defer>
|
||||
</script>
|
||||
{% endblock %}
|
||||
|
||||
{# Matomo #}
|
||||
<script>
|
||||
var _paq = window._paq = window._paq || [];
|
||||
_paq.push(['disableCookies']);
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function() {
|
||||
var u="//matomo.paulnicoue.com/";
|
||||
_paq.push(['setTrackerUrl', u+'matomo.php']);
|
||||
_paq.push(['setSiteId', '3']);
|
||||
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
|
||||
g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
|
||||
})();
|
||||
{# Umami #}
|
||||
<script src="https://umami.paulnicoue.com/script.js"
|
||||
data-website-id="836d3151-0470-4a49-a511-75851d501e09"
|
||||
data-domains="julienmonnerie.com"
|
||||
defer>
|
||||
</script>
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue