From 3c18b76d3c9e27865d937fb51a2768a799a5aa5b Mon Sep 17 00:00:00 2001 From: wukko Date: Sat, 16 Mar 2024 22:03:54 +0600 Subject: [PATCH 01/11] page: add plausible script enabled by env variable --- src/modules/pageRender/page.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/modules/pageRender/page.js b/src/modules/pageRender/page.js index 7462d5bd..e4bf4d6c 100644 --- a/src/modules/pageRender/page.js +++ b/src/modules/pageRender/page.js @@ -74,6 +74,14 @@ export default function(obj) { + + ${process.env.PLAUSIBLE_HOSTNAME ? + `` + : ''}