Browse Source
feat: extends plausible analytics to support self hosted installations (#4824)
pull/4941/head
cybrwshl
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
7 additions and
1 deletions
-
server/modules/analytics/plausible/code.yml
-
server/modules/analytics/plausible/definition.yml
|
|
@ -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> |
|
|
@ -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 |