Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kakawait/hugo-tranquilpeak-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorThibaud LeprĂȘtre <thibaud.lepretre@gmail.com>2016-11-13 14:28:38 +0300
committerThibaud LeprĂȘtre <thibaud.lepretre@gmail.com>2016-11-13 19:38:38 +0300
commit75df39e05964a88f9125b76f8e4d9fee29d0606d (patch)
treebe973fb6024549c0ec9765f4a00bd57e616d2122 /docs
parentf8435d47c5432f845c6a125da8be53e009af8ed1 (diff)
Migrate old GA script to new
- Upgrade *Google Analytics* script to do not use anymore `ga.js` which is now deprecated - Changes *Google Analytics* config key from `params.google_analytics_id` to official `googleAnalytics` - Add parameter to choose between sync/async loading of *Google Analytics* `params.ga.async` - Create migration 0.1.0-ALPHA -> 0.1.1-ALPHA fixes #21
Diffstat (limited to 'docs')
-rw-r--r--docs/user.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/user.md b/docs/user.md
index 22a6257..3aa6637 100644
--- a/docs/user.md
+++ b/docs/user.md
@@ -307,7 +307,8 @@ The same page with `hierarchical_categories = false`:
#### Integrated services
```toml
-DisqusShortname =
+disqusShortname =
+googleAnalytics =
```
```toml
@@ -319,14 +320,13 @@ DisqusShortname =
[params]
fb_admin_ids =
fb_app_id =
- google_analytics_id =
```
| Variable | Description |
|---------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| disqus_shortnam | Your Disqus shortname. |
+| disqusShortname | Your Disqus shortname. |
| gravatar_email | Your gravatar email. Overwrite `author.picture` everywhere in the blog |
-| google_analytics_id | Your Google analystics web property ID : UA-XXXXX-X |
+| googleAnalytics | Your Google analystics web property ID : UA-XXXXX-X |
| fb_admin_ids | Your Facebook user ids used to connect your blog with your facebook user accounts (Facebook Insights). Separate ids with comma. E.g : `9830047,1003342`. Visit [Facebook docs](https://developers.facebook.com/docs/platforminsights/domains) for more information. |
| fb_app_id | Your Facebook app id used to connect your blog with your facebook app account (Facebook Insights). E.g : `9841307`. Visit [Facebook docs](https://developers.facebook.com/docs/platforminsights/domains) for more information. |