feat: add umami analytics module (#5869)
Co-authored-by: Nicolas Giard <github@ngpixel.com>
This commit is contained in:
parent
d10f2a1966
commit
86c9407057
2
server/modules/analytics/umami/code.yml
Normal file
2
server/modules/analytics/umami/code.yml
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
head: |
|
||||||
|
<script async defer data-website-id="{{websiteID}}" src="{{url}}/umami.js"></script>
|
17
server/modules/analytics/umami/definition.yml
Normal file
17
server/modules/analytics/umami/definition.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user