From 39b140b6252316a47087e695e98add648aa105f5 Mon Sep 17 00:00:00 2001 From: Gabriel Koch Date: Wed, 10 Mar 2021 21:14:21 +0100 Subject: Add support for Google Analytics --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'README.md') 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. -- cgit v1.2.3