add mautic tracker

This commit is contained in:
Set Sakrecoer 2021-05-04 23:46:54 +02:00
parent 68fb1e86f2
commit 89103993a3
2 changed files with 9 additions and 0 deletions

View file

@ -37,6 +37,7 @@
if (readCookie('cookie-notice-dismissed') == 'wantCookies') {
{% include analytics.js %}
{% include mautic-tracker.js %}
} else {
document.getElementById('cookie-notice').style.display = 'flex';

View file

@ -0,0 +1,8 @@
(function(w,d,t,u,n,a,m){w['MauticTrackingObject']=n;
w[n]=w[n]||function(){(w[n].q=w[n].q||[]).push(arguments)},a=d.createElement(t),
m=d.getElementsByTagName(t)[0];a.async=1;a.src=u;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://pr.basspistol.com/mtc.js','mt');
mt('send', 'pageview');