2
0
Эх сурвалжийг харах

feat: add Plausible Analytics module

Nicolas Giard 3 жил өмнө
parent
commit
87fcfca6d7

+ 2 - 0
server/modules/analytics/plausible/code.yml

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

+ 13 - 0
server/modules/analytics/plausible/definition.yml

@@ -0,0 +1,13 @@
+key: plausible
+title: Plausible Analytics
+description: Simple, open-source, lightweight and privacy-friendly web analytics alternative to Google Analytics.
+author: requarks.io
+logo: https://cdn.js.wiki/images/3rdparty/plausible.svg
+website: https://plausible.io
+isAvailable: true
+props:
+  domain:
+    type: String
+    title: Domain
+    hint: The value of the data-domain property
+    order: 1