Browse Source

feat: add umami analytics module (#5869)

Co-authored-by: Nicolas Giard <github@ngpixel.com>
pull/5873/head
CDN 2 years ago
committed by GitHub
parent
commit
86c9407057
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 0 deletions
  1. 2
      server/modules/analytics/umami/code.yml
  2. 17
      server/modules/analytics/umami/definition.yml

2
server/modules/analytics/umami/code.yml

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

17
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
Loading…
Cancel
Save