summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorPeiling Jiang <jiangpeiling98@outlook.com>2019-10-04 03:52:51 -0400
committerAlex Shpak <alex-shpak@users.noreply.github.com>2019-10-04 09:52:51 +0200
commit1cd5040d84e852504598ebc58f6839ce4453ca68 (patch)
tree86255afad0ec9d9085de5a1d126cb23aa069dd38 /README.md
parent1f8d34168fb142ecc013ca640a3d2bc52988aa44 (diff)
Add Google Analytics setup (in configuration file) hint. (#88)
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 4 insertions, 0 deletions
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