feat: Suppression de l'ancienne API pour l'analytique
This commit is contained in:
parent
7c17283c91
commit
ae33974229
|
@ -5,6 +5,6 @@
|
||||||
<script type="text/javascript" src="{{ $js.Permalink }}"></script>
|
<script type="text/javascript" src="{{ $js.Permalink }}"></script>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ if or (eq hugo.Environment "production") (eq hugo.Environment "staging") }}
|
{{ 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 }}lestoitsduval.fr" src="https://analytiques.resilien.cloud/js/plausible.js"></script>
|
<script defer data-domain="{{if eq hugo.Environment "staging" }}staging.{{ end }}lestoitsduval.fr" src="https://analytiques.resilien.cloud/js/plausible.js"></script>
|
||||||
<script>window.plausible = window.plausible || function() { (window.plausible.q = window.plausible.q || []).push(arguments) }</script>
|
<script>window.plausible = window.plausible || function() { (window.plausible.q = window.plausible.q || []).push(arguments) }</script>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Reference in New Issue