mirror of
https://github.com/alrayyes/wiki.git
synced 2025-05-12 11:40:40 +00:00
feat: switch from GA to Plausible for analytics
This commit is contained in:
parent
93610e232b
commit
a73aca8ed9
3 changed files with 10 additions and 5 deletions
layouts/partials
|
@ -205,5 +205,6 @@
|
|||
})
|
||||
</script>
|
||||
{{end}}
|
||||
{{ $trimmedURL := trim (index (split .Site.BaseURL "://") 1) "/" }}
|
||||
<script defer data-domain="{{$trimmedURL}}" src="https://plausible.io/js/script.js"></script>
|
||||
</head>
|
||||
{{ template "_internal/google_analytics.html" . }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue