Commit 580449b0 authored by colmoneill's avatar colmoneill

matomo code

parent 090e8713
Pipeline #38225614 passed with stages
in 1 minute and 25 seconds
......@@ -84,6 +84,25 @@
{% if GOOGLE_TAG_MANAGER %}
{% include "partial/gtm.html" %}
{% endif %}
<!-- Matomo -->
<script type="text/javascript">
var _paq = _paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//consultone.eu/piwik/";
_paq.push(['setTrackerUrl', u+'piwik.php']);
_paq.push(['setSiteId', '8']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<!-- End Matomo Code -->
</head>
<body>
{% if GOOGLE_TAG_MANAGER %}
......@@ -188,10 +207,6 @@
<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid={{ ADD_THIS_ID }}" async="async"></script>
{% endif %}
{% if PIWIK_URL and PIWIK_SITE_ID %}
{% include "partial/piwik.html" %}
{% endif %}
{% include "partial/jsonld.html" %}
{% block additional_js %}{% endblock %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment