feat: extends plausible analytics to support self hosted installations (#4824)

This commit is contained in:
cybrwshl 2021-12-26 06:17:57 +01:00 committed by GitHub
parent 43cc114ff0
commit 802dbd96c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View File

@ -1,2 +1,2 @@
head: |
<script defer data-domain="{{domain}}" src="https://plausible.io/js/plausible.js"></script>
<script defer data-domain="{{domain}}" src="{{plausibleJsSrc}}"></script>

View File

@ -11,3 +11,9 @@ props:
title: Domain
hint: The value of the data-domain property
order: 1
plausibleJsSrc:
type: String
default: https://plausible.io/js/plausible.js
title: Plausible JS Script source
hint: The URL of Plausbile Script (only needed when using a self hosted installation)
order: 2