From fb86b115e1e588518cbf9531bc9a4887feef435c Mon Sep 17 00:00:00 2001 From: Emiel Hollander Date: Sun, 5 May 2019 18:05:58 +0200 Subject: Add documentation for Google Analytics --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 9de828e..0b23c96 100644 --- a/README.md +++ b/README.md @@ -145,6 +145,10 @@ By default, the theme uses the translation of the word 'Hello' for the language greeting = "Greetings!" ``` +### Google Analytics + +The theme supports Google Analytics. To use Google Analytics, specify the parameter `googleAnalytics` in your `config.toml`. This will add the code for Google Analytics when you generate your site for production. It will not be included for any environment other than production (e.g. when using `hugo serve`). + ## Acknowledgments Stock portrait photo obtained [here](https://www.pexels.com/photo/adult-beautiful-blonde-blur-324658/). -- cgit v1.2.3