- [Themes](#themes)
- [Reverse layout](#reverse-layout)
- [Disqus](#disqus)
+ - [Google Analytics](#google-analytics)
- [Author](#author)
- [Ported by](#ported-by)
- [License](#license)
### Disqus
-You can optionally enable a comment system powered by Disqus for the posts. Simply add the variable `disqusShortname` to your config file.
+You can optionally enable a comment system powered by Disqus for the posts. Simply add the variable `disqusShortname` to your config file.
**TOML**
```toml
> **Note:** Previous version 1.0 the Disqus shortname had to be defined inside the `[params]` block.
+
+## Google Analytics
+
+Google Analytics can be enabled by assigning your tracking code to the `googleAnalytics` variable in the config file:
+
+**TOML**
+```toml
+googleAnalytics = "Your tracking code"
+```
+
+**YAML**
+```yaml
+googleAnalytics: Your tracking code
+```
+
## Author
**Mark Otto**
- <https://github.com/mdo>
<div class="content container">
{{ block "main" . -}}{{- end }}
</div>
+
+ {{ template "_internal/google_analytics_async.html" . }}
</body>
</html>
\ No newline at end of file