From ba619d5a98dcb86605f850211ab6289d75443416 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 22 Jan 2022 13:10:14 +0300 Subject: support Google Analytics --- _includes/common/ga.html | 9 +++++++++ _includes/common/header.html | 4 ++++ 2 files changed, 13 insertions(+) create mode 100644 _includes/common/ga.html (limited to '_includes') diff --git a/_includes/common/ga.html b/_includes/common/ga.html new file mode 100644 index 0000000..56eaca7 --- /dev/null +++ b/_includes/common/ga.html @@ -0,0 +1,9 @@ + + + diff --git a/_includes/common/header.html b/_includes/common/header.html index a41b26e..8546fb5 100644 --- a/_includes/common/header.html +++ b/_includes/common/header.html @@ -58,6 +58,10 @@ {% endfor %} {% endif %} + + {% if site.settings.ga_tag %} + {% include common/ga.html ga_tag=site.settings.ga_tag %} + {% endif %}