Browse Source
feat: add v2 of analytics module umami (#6442)
* feat: create analytics module umami2
---------
Co-authored-by: Nicolas Giard <github@ngpixel.com>
pull/6511/head
v2.5.299
CDN
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
20 additions and
1 deletions
-
server/modules/analytics/umami/definition.yml
-
server/modules/analytics/umami2/code.yml
-
server/modules/analytics/umami2/definition.yml
|
|
@ -1,5 +1,5 @@ |
|
|
|
key: umami |
|
|
|
title: Umami Analytics |
|
|
|
title: Umami Analytics v1 |
|
|
|
description: Umami is a simple, fast, privacy-focused alternative to Google Analytics. |
|
|
|
author: CDN18 |
|
|
|
logo: https://static.requarks.io/logo/umami.svg |
|
|
|
|
|
@ -0,0 +1,2 @@ |
|
|
|
head: | |
|
|
|
<script async src="{{url}}/script.js" data-website-id="{{websiteID}}"></script> |
|
|
@ -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 |