feat(Plausible): Modification de l'import du script
This commit is contained in:
parent
8d305700e7
commit
caa98c4df7
|
@ -3,6 +3,6 @@
|
||||||
<p>©Weko 2021</p>
|
<p>©Weko 2021</p>
|
||||||
</footer>
|
</footer>
|
||||||
{{ 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 }}weko.io" src="/js/script.js"></script>
|
<script defer data-domain="{{if eq hugo.Environment "staging" }}staging.{{ end }}weko.io" 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