diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index ad283d5..ceb7416 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -153,6 +153,9 @@ params: analytics: enabled: false services: + # cloudflare web analytics + # cloudflare: + # token: "" # Google Analytics google: id: G-H4LBG7NDFZ diff --git a/layouts/partials/analytics.html b/layouts/partials/analytics.html index 87429a5..fac3a09 100644 --- a/layouts/partials/analytics.html +++ b/layouts/partials/analytics.html @@ -43,6 +43,14 @@ })(); {{ end }} + + {{ with .cloudflare }} + + + + {{ end }} {{ end }} {{ end }} {{ end }}