Analytics

This theme supports many analytics providers, including a number of privacy friendly options. These can be enabled in the _data/site.yml

# _data/site.yml

analytics:
  disable_analytics_on_localhost: false # prevents polluting analytics data while developing but enabling can be useful
  google_analytics_id: "" # G-XXXXXXXXXX
  gtm_id: "" # GTM-XXXXXXXX
  plausible_data_domain: "" # mywebsite.com
  plausible_src: "" # custom plausible url if you are self hosting Plausible
  umami_data_website_id: "" # ddd14336-5fb0-4cdd-8f32-e1bfa906cc2b
  umami_src: "" # https://analytics.eu.umami.is/script.js

Google Analytics

Google analytics is managed by the cookie banner if enabled.

analytics:
  google_analytics_id: "G-SL5FWY00S6"

Google Tag Manager

Google Tag Manager is managed by the cookie banner if enabled.

analytics:
  gtm_id: "GTM-XXXXXXXX"

Plausible

We highly recommend Plausible and use it ourselves.

Plausible analytics

analytics:
  plausible_data_domain: "mywebsite.com"
  plausible_src: "" # custom plausible url if you are self hosting Plausible

Umami

Umami analytics

analytics:
  umami_data_website_id: "ddd14336-5fb0-4cdd-8f32-e1bfa906cc2b"
  umami_src: "https://analytics.eu.umami.is/script.js"