Skip to content

Commit

Permalink
feat: add v2 of analytics module umami (#6442)
Browse files Browse the repository at this point in the history
* feat: create analytics module umami2

---------

Co-authored-by: Nicolas Giard <[email protected]>
  • Loading branch information
cdn0x12 and NGPixel authored Jun 4, 2023
1 parent 545ba4e commit 4e5e830
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
2 changes: 1 addition & 1 deletion server/modules/analytics/umami/definition.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions server/modules/analytics/umami2/code.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
head: |
<script async src="{{url}}/script.js" data-website-id="{{websiteID}}"></script>
17 changes: 17 additions & 0 deletions server/modules/analytics/umami2/definition.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 4e5e830

Please sign in to comment.