|
@@ -15,6 +15,7 @@ It pairs a prominent sidebar with uncomplicated content.
|
15
|
15
|
- [Themes](#themes)
|
16
|
16
|
- [Reverse layout](#reverse-layout)
|
17
|
17
|
- [Disqus](#disqus)
|
|
18
|
+ - [Google Analytics](#google-analytics)
|
18
|
19
|
- [Author](#author)
|
19
|
20
|
- [Ported by](#ported-by)
|
20
|
21
|
- [License](#license)
|
|
@@ -119,7 +120,7 @@ params:
|
119
|
120
|
|
120
|
121
|
### Disqus
|
121
|
122
|
|
122
|
|
-You can optionally enable a comment system powered by Disqus for the posts. Simply add the variable `disqusShortname` to your config file.
|
|
123
|
+You can optionally enable a comment system powered by Disqus for the posts. Simply add the variable `disqusShortname` to your config file.
|
123
|
124
|
|
124
|
125
|
**TOML**
|
125
|
126
|
```toml
|
|
@@ -128,6 +129,21 @@ disqusShortname = "spf13"
|
128
|
129
|
|
129
|
130
|
> **Note:** Previous version 1.0 the Disqus shortname had to be defined inside the `[params]` block.
|
130
|
131
|
|
|
132
|
+
|
|
133
|
+## Google Analytics
|
|
134
|
+
|
|
135
|
+Google Analytics can be enabled by assigning your tracking code to the `googleAnalytics` variable in the config file:
|
|
136
|
+
|
|
137
|
+**TOML**
|
|
138
|
+```toml
|
|
139
|
+googleAnalytics = "Your tracking code"
|
|
140
|
+```
|
|
141
|
+
|
|
142
|
+**YAML**
|
|
143
|
+```yaml
|
|
144
|
+googleAnalytics: Your tracking code
|
|
145
|
+```
|
|
146
|
+
|
131
|
147
|
## Author
|
132
|
148
|
**Mark Otto**
|
133
|
149
|
- <https://github.com/mdo>
|