From 802dbd96c38972ba1f598516adeae6189b9ea0f5 Mon Sep 17 00:00:00 2001 From: cybrwshl <5388891+cybrwshl@users.noreply.github.com> Date: Sun, 26 Dec 2021 06:17:57 +0100 Subject: [PATCH] feat: extends plausible analytics to support self hosted installations (#4824) --- server/modules/analytics/plausible/code.yml | 2 +- server/modules/analytics/plausible/definition.yml | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/server/modules/analytics/plausible/code.yml b/server/modules/analytics/plausible/code.yml index 16e4e43f..d2fba2bb 100644 --- a/server/modules/analytics/plausible/code.yml +++ b/server/modules/analytics/plausible/code.yml @@ -1,2 +1,2 @@ head: | - + diff --git a/server/modules/analytics/plausible/definition.yml b/server/modules/analytics/plausible/definition.yml index 6cb11f30..eb86a6d8 100644 --- a/server/modules/analytics/plausible/definition.yml +++ b/server/modules/analytics/plausible/definition.yml @@ -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