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

github.com/EmielH/tale-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel Koch <koch_gabriel@hotmail.com>2021-03-10 23:14:21 +0300
committerGitHub <noreply@github.com>2021-03-10 23:14:21 +0300
commit39b140b6252316a47087e695e98add648aa105f5 (patch)
treed960418bd459a68a939a72e3c7fd1d831c67f2b5 /README.md
parent92e70ee37570f06385517444755560b49fff0b80 (diff)
Add support for Google Analyticsv2.2.0
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/README.md b/README.md
index cc0a97f..f2afdb0 100644
--- a/README.md
+++ b/README.md
@@ -114,6 +114,16 @@ comments: true
---
```
+### Google Analytics
+
+Tale supports Google Analytics integration using Hugo's provided `google_analytics_async` template.
+
+To enable it, add the `googleAnalytics` tag to your `config.toml`. It will be added on all pages.
+
+```toml
+googleAnalytics = "UA-133700000-0"
+```
+
### Custom summaries
Tale allows for writing the summary of your posts manually by setting the `summary` variable in the page frontmatter. If this variable is not set, the summary that Hugo automatically generates will be used.