From 1cd5040d84e852504598ebc58f6839ce4453ca68 Mon Sep 17 00:00:00 2001 From: Peiling Jiang Date: Fri, 4 Oct 2019 03:52:51 -0400 Subject: [PATCH] Add Google Analytics setup (in configuration file) hint. (#88) --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 954763a..938c5e4 100644 --- a/README.md +++ b/README.md @@ -111,6 +111,10 @@ There are few configuration options you can add to your `config.toml` file. You can also see `yaml` example [here](https://github.com/alex-shpak/hugo-book/blob/master/exampleSite/config.yaml). ```toml +# (Optional) Set Google Analytics if you use it to track your website. +# Always put it on the top of the configuration file, otherwise it won't work +googleAnalytics = "UA-XXXXXXXXX-X" + # (Optional) Set this to true if you use capital letters in file names disablePathToLower = true