Explorar el Código

feat: add umami analytics module (#5869)

Co-authored-by: Nicolas Giard <github@ngpixel.com>
CDN hace 2 años
padre
commit
86c9407057

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

@@ -0,0 +1,2 @@
+head: |
+  <script async defer data-website-id="{{websiteID}}" src="{{url}}/umami.js"></script>

+ 17 - 0
server/modules/analytics/umami/definition.yml

@@ -0,0 +1,17 @@
+key: umami
+title: Umami Analytics
+description: Umami is a simple, fast, privacy-focused alternative to Google Analytics.
+author: CDN18
+logo: https://static.requarks.io/logo/umami.svg
+website: https://umami.is
+isAvailable: true
+props:
+  websiteID:
+    type: String
+    title: Website ID
+    order: 1
+  url:
+    type: String
+    title: Umami Server URL
+    hint: The URL of your Umami instance. It should start with http/https and omit the trailing slash. (e.g. https://umami.example.com)
+    order: 2