Skip to content

Commit

Permalink
Add documentation for Google Analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
EmielH committed May 5, 2019
1 parent e475bed commit fb86b11
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/).
Expand Down

0 comments on commit fb86b11

Please sign in to comment.