feat: Remise en place du suivi des visites

This commit is contained in:
Simon 2022-12-13 09:33:52 +01:00
parent 02975190a4
commit c734470f6b
1 changed files with 1 additions and 2 deletions

View File

@ -36,6 +36,5 @@
Ce site est réalisé par <a href="https://weko.io">Weko</a> de façon éco-responsable.
</footer>
{{ if or (eq hugo.Environment "production") (eq hugo.Environment "staging") }}
<script defer data-api="/api/event" data-domain="{{if eq hugo.Environment "staging" }}staging.{{ end }}cremeaux.fr" src="/js/script.js"></script>
<script>window.plausible = window.plausible || function() { (window.plausible.q = window.plausible.q || []).push(arguments) }</script>
<script defer data-domain="{{if eq hugo.Environment "staging" }}staging.{{ end }}cremeaux.fr" src="https://analytiques.resilien.cloud/js/plausible.js"></script>
{{ end }}