feat: adds support for analytics pixels
This commit is contained in:
parent
de830da3b7
commit
e0ad9ee248
4 changed files with 7 additions and 1 deletions
|
|
@ -67,8 +67,11 @@
|
|||
g.async = true;
|
||||
g.src = u + 'matomo.js';
|
||||
s.parentNode.insertBefore(g, s);
|
||||
})();
|
||||
})();
|
||||
|
||||
{% if site_pixel %}
|
||||
onload=_=>document.body.insertAdjacentHTML("beforeend",'<img src="{{ site_pixel }}">')
|
||||
{% endif %}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue