Commit aaeb6401 authored by jeekajoo's avatar jeekajoo

piwik became matomo

parent 4622d7d9
......@@ -46,8 +46,8 @@ pagination:
minima:
date_format: "%d/%m/%Y"
# Piwik
piwik_siteid: 3
# matomo
matomo_siteid: 3
# Build settings
markdown: kramdown
......
......@@ -4,8 +4,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{% if page.title %}{{ page.title | escape }} - {{ site.title | escape }}{% else %}{{ site.title | escape }}{% endif %}</title>
{% if jekyll.environment == 'production' and site.piwik_siteid %}
{% include piwik.html %}
{% if jekyll.environment == 'production' and site.matomo_siteid %}
{% include matomo.html %}
{% endif %}
<!-- Tags provided by 'Jekyll SEO Tag'
<meta name="description" content="{{ page.excerpt | default: site.description | strip_html | normalize_whitespace | truncate: 160 | escape }}">
......
......@@ -6,9 +6,9 @@
(function() {
var u="//stats.parisenselle.fr/";
_paq.push(['setTrackerUrl', u+'js/']);
_paq.push(['setSiteId', '{{ site.piwik_siteid }}']);
_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+'js/'; s.parentNode.insertBefore(g,s);
})();
</script>
<noscript><p><img src="//stats.parisenselle.fr/js?idsite={{ site.piwik_siteid }}&rec=1" style="border:0;" alt="" /></p></noscript>
<noscript><p><img src="//stats.parisenselle.fr/js?idsite={{ site.matomo_siteid }}&rec=1" style="border:0;" alt="" /></p></noscript>
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