diff --git a/config/_default/params.toml b/config/_default/params.toml index 9646ecef..25ba3941 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -135,10 +135,11 @@ disableTextInHeader = false # websiteid = "ABC12345" # domain = "llama.yoursite.com" # dataDomains = "yoursite.com,yoursite2.com" + # enableTrackEvent = false [selineAnalytics] -# token = "XXXXXX" -# enableTrace = false + # token = "XXXXXX" + # enableTrackEvent = false [buymeacoffee] # identifier = "" diff --git a/exampleSite/config/_default/params.toml b/exampleSite/config/_default/params.toml index f7111019..6912695a 100644 --- a/exampleSite/config/_default/params.toml +++ b/exampleSite/config/_default/params.toml @@ -134,10 +134,11 @@ smartTOCHideUnfocusedChildren = false # websiteid = "ABC12345" # domain = "llama.yoursite.com" # dataDomains = "yoursite.com,yoursite2.com" + # enableTrackEvent = false [selineAnalytics] -# token = "XXXXXX" -# enableTrace = false + # token = "XXXXXX" + # enableTrackEvent = false [buymeacoffee] identifier = "nunocoracao" diff --git a/layouts/partials/analytics/seline.html b/layouts/partials/analytics/seline.html index 51aeb1bd..adb2f64d 100644 --- a/layouts/partials/analytics/seline.html +++ b/layouts/partials/analytics/seline.html @@ -1,6 +1,6 @@ -{{ if .Site.Params.selineAnalytics.enableTrace | default false }} +{{ if .Site.Params.selineAnalytics.enableTrackEvent | default false }} {{ end }} +{{ if .Site.Params.umamiAnalytics.enableTrackEvent | default false }} \ No newline at end of file + +{{ end }} \ No newline at end of file