From 3cbb3bd28d1472104f6102f02e7ad0d8924b0d1c Mon Sep 17 00:00:00 2001 From: Eugene Horohorin Date: Wed, 8 Aug 2018 16:42:43 +0400 Subject: [PATCH] google analytics is updated to use parameter from config.yml. VK widget is added --- _config.yml | 2 +- _includes/footer.html | 11 ++++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/_config.yml b/_config.yml index e0ce9f9..beaf881 100644 --- a/_config.yml +++ b/_config.yml @@ -1,6 +1,6 @@ name: Youcon -google_analytics: 123 +google_analytics: UA-62253510-1 markdown: kramdown diff --git a/_includes/footer.html b/_includes/footer.html index 679ec6c..a7aefa2 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -15,7 +15,7 @@ m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); - ga('create', 'UA-62253510-1', 'auto'); + ga('create', '{{ site.google_analytics }}', 'auto'); ga('send', 'pageview'); @@ -63,3 +63,12 @@ + + + + + +
+