Skip to content

Commit

Permalink
feat: add umami analytics module (#5869)
Browse files Browse the repository at this point in the history
Co-authored-by: Nicolas Giard <github@ngpixel.com>
  • Loading branch information
CDN18 and NGPixel committed Nov 18, 2022
1 parent d10f2a1 commit 86c9407
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/modules/analytics/umami/code.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
head: |
<script async defer data-website-id="{{websiteID}}" src="{{url}}/umami.js"></script>
17 changes: 17 additions & 0 deletions server/modules/analytics/umami/definition.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 86c9407

Please sign in to comment.