From 257388348bbd32e671407757503ebea7fc62cce8 Mon Sep 17 00:00:00 2001 From: Dmitry Polovinkin Date: Mon, 24 Feb 2025 06:37:38 +0100 Subject: [PATCH] better description of disqus and google analytics setup --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 5fbaaed92d..329963a5ad 100644 --- a/README.md +++ b/README.md @@ -247,7 +247,7 @@ Optionally, if you have a Disqus account, you can tell Jekyll to use it to show :warning: `url`, e.g. `https://example.com`, must be set in you config file for Disqus to work. -To enable it, after setting the url field, you also need to add the following lines to your Jekyll site: +To enable it, after setting the url field, you need to add the following lines to your `_config.yml`: ```yaml disqus: @@ -305,10 +305,10 @@ The full list of available social icons can be found at https://fontawesome.com/ ### Enabling Google Analytics -To enable Google Analytics, add the following lines to your Jekyll site: +To enable Google Analytics, after you set up your account there, add your measurement id the to your `_config.yml`: ```yaml - google_analytics: UA-NNNNNNNN-N +google_analytics: G-NNNNNNNNNN ``` Google Analytics will only appear in production, i.e., `JEKYLL_ENV=production`