feat: add umami analytics module (#5869)

Co-authored-by: Nicolas Giard <github@ngpixel.com>
This commit is contained in:
CDN 2022-11-19 05:40:18 +08:00 committed by GitHub
parent d10f2a1966
commit 86c9407057
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 0 deletions

View File

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

View File

@ -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