add mautic tracker
This commit is contained in:
parent
68fb1e86f2
commit
89103993a3
|
@ -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';
|
||||
|
||||
|
|
8
_includes/mautic-tracker.js
Normal file
8
_includes/mautic-tracker.js
Normal 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');
|
||||
|
Loading…
Reference in a new issue