fix: correct Matomo integration

pull/6/head
Nicolas Doby 2022-11-21 19:56:51 +01:00
parent 139f159f5a
commit 48044f49e6
1 changed files with 1 additions and 0 deletions

View File

@ -13,6 +13,7 @@
<link rel="icon" href="/blog_images/favicon.svg">
{% if "ELEVENTY_ENV" | env == "production"%}
<!-- Matomo -->
<meta http-equiv="Content-Security-Policy" content="default-src 'self' '; script-src 'self' 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline' 'unsafe-eval';">
<script>
var _paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */