From cca288b799f4a0f94e1453810e0ce96b3f3578bf Mon Sep 17 00:00:00 2001 From: Xen-Echo <67518109+Xen-Echo@users.noreply.github.com> Date: Wed, 10 Mar 2021 21:40:56 +0000 Subject: [PATCH] Adding support for Google Analytics 4 (#149) --- README.md | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/README.md b/README.md index 3503e1b..0eb3ba4 100644 --- a/README.md +++ b/README.md @@ -242,6 +242,13 @@ googleAnalytics = "UA-123-45" ``` +To use the modern Google Analytics 4, include the following under `[params]` replacing the id with your own. + +```toml +[params] +gtagId = "G-XXXXXXXXXX" +``` + ### Simple Analytics To use Simple Analytics, it has to be enabled by setting the parameter to true. If you are using a custom subdomain to evade Adblockers, then specify the URL without a trailing slash. -- Gitblit v1.10.0