Replace Matomo tracking script with Umami
This commit is contained in:
parent
fa4f9e954d
commit
c7dbf3db41
1 changed files with 8 additions and 14 deletions
|
@ -14,22 +14,16 @@
|
||||||
|
|
||||||
{# JavaScript #}
|
{# JavaScript #}
|
||||||
{% block scripts %}
|
{% block scripts %}
|
||||||
<script src="build/app.js" defer></script>
|
<script src="build/app.js"
|
||||||
|
defer>
|
||||||
|
</script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{# Matomo #}
|
{# Umami #}
|
||||||
<script>
|
<script src="https://umami.paulnicoue.com/script.js"
|
||||||
var _paq = window._paq = window._paq || [];
|
data-website-id="4bfdf124-4682-487b-943f-dcc1bd549edb"
|
||||||
_paq.push(['disableCookies']);
|
data-domains="xiaowang.fr"
|
||||||
_paq.push(['trackPageView']);
|
defer>
|
||||||
_paq.push(['enableLinkTracking']);
|
|
||||||
(function() {
|
|
||||||
var u="//matomo.paulnicoue.com/";
|
|
||||||
_paq.push(['setTrackerUrl', u+'matomo.php']);
|
|
||||||
_paq.push(['setSiteId', '2']);
|
|
||||||
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);
|
|
||||||
})();
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue