From e8ddc45ef93da6a70fe8da53c4fb819c9e00714d Mon Sep 17 00:00:00 2001 From: Junyi Hou Date: Mon, 18 Mar 2024 12:46:45 +0800 Subject: [PATCH] add umami track --- exampleSiteMultilingual/hugo.toml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/exampleSiteMultilingual/hugo.toml b/exampleSiteMultilingual/hugo.toml index 6bc7cdd..682da65 100644 --- a/exampleSiteMultilingual/hugo.toml +++ b/exampleSiteMultilingual/hugo.toml @@ -6,7 +6,7 @@ theme = "anubis2" paginate = 3 disqusShortname = "" -googleAnalytics = "" + [author] name = "Junyi" @@ -141,3 +141,13 @@ author = "authors" [markup.goldmark.renderer] unsafe = true + + +[params.UmamiAnalytics] + enabled = true + dnt = false + id = "e4f661ff-9a8c-49d4-b3cc-2efe553e3973" # Website ID + datacache = false + url = "https://eu.umami.is/script.js" + shareUrl = "https://eu.umami.is/share/RIETUMwZn4IBMIr8/hugo-theme-anubis2.netlify.app" + \ No newline at end of file