feat: add v2 of analytics module umami (#6442)
* feat: create analytics module umami2 --------- Co-authored-by: Nicolas Giard <github@ngpixel.com>
This commit is contained in:
parent
545ba4ec95
commit
4e5e8309a6
@ -1,5 +1,5 @@
|
|||||||
key: umami
|
key: umami
|
||||||
title: Umami Analytics
|
title: Umami Analytics v1
|
||||||
description: Umami is a simple, fast, privacy-focused alternative to Google Analytics.
|
description: Umami is a simple, fast, privacy-focused alternative to Google Analytics.
|
||||||
author: CDN18
|
author: CDN18
|
||||||
logo: https://static.requarks.io/logo/umami.svg
|
logo: https://static.requarks.io/logo/umami.svg
|
||||||
|
2
server/modules/analytics/umami2/code.yml
Normal file
2
server/modules/analytics/umami2/code.yml
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
head: |
|
||||||
|
<script async src="{{url}}/script.js" data-website-id="{{websiteID}}"></script>
|
17
server/modules/analytics/umami2/definition.yml
Normal file
17
server/modules/analytics/umami2/definition.yml
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
key: umami2
|
||||||
|
title: Umami Analytics v2
|
||||||
|
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