diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 894926bd3b390e4e11a4514c54fdebed1256e5b1..49233ae8bb7ed17ba01df514b5371cc3ab66c37d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,4 +1,4 @@
-image: registry.gitlab.com/pages/hugo/hugo_extended:latest
+image: registry.gitlab.com/pages/hugo/hugo_extended:0.111.3
 
 variables:
   HUGO_ENV: ci
diff --git a/themes/hugo-theme-relearn/layouts/partials/custom-header.html b/themes/hugo-theme-relearn/layouts/partials/custom-header.html
index 2802632019ea37c6c3e6f85e6b4f18bc7e8811b3..244bb5bb2f39903c785bf4272adc2ab5e84ce9f6 100644
--- a/themes/hugo-theme-relearn/layouts/partials/custom-header.html
+++ b/themes/hugo-theme-relearn/layouts/partials/custom-header.html
@@ -2,4 +2,18 @@
 <style>
    /* Custom css */
 </style>
--->
\ No newline at end of file
+-->
+<!-- Matomo -->
+	<script>
+	var _paq = window._paq = window._paq || [];
+	/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
+	_paq.push(['trackPageView']);
+	_paq.push(['enableLinkTracking']);
+	(function() {
+		var u="//agroclim.inrae.fr/matomo/";
+		_paq.push(['setTrackerUrl', u+'matomo.php']);
+		_paq.push(['setSiteId', '{{ .Site.Params.matomoSiteId }}']);
+		var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
+		g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
+	})();
+	</script>