_includes/js/main.html in jekyll-theme-pirati-8.4.0 vs _includes/js/main.html in jekyll-theme-pirati-8.4.1
- old
+ new
@@ -40,20 +40,20 @@
return t;
}(document, "script", "twitter-wjs"));
</script>
{% endif %}
-{% if site.piwik.loadSDK %}
+{% if site.matomo.loadSDK %}
<!-- Matomo -->
<script type="text/javascript">
var _paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//matomo.pirati.cz/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
- _paq.push(['setSiteId', '110']);
+ _paq.push(['setSiteId', '{{ site.matomo.siteId }}']);
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+'matomo.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<!-- End Matomo Code -->