From 7d6806ad0db151baeba6d7c4c0815b70bce15a77 Mon Sep 17 00:00:00 2001 From: Ayo Date: Sun, 6 Oct 2019 19:42:29 +0800 Subject: [PATCH] update google analytics configuration --- _config.yml | 2 +- _includes/google-analytics.html | 13 +------------ _includes/head.html | 7 +++---- 3 files changed, 5 insertions(+), 17 deletions(-) diff --git a/_config.yml b/_config.yml index 1d9e9f1..411675d 100644 --- a/_config.yml +++ b/_config.yml @@ -18,7 +18,7 @@ author: Ayo attribution: "AyoCart Online Marketing" attribution-url: "https://AyoAyco.com" bugreport_url: "https://github.com/fullhacker/fullhacker.github.io/issues/new" -google_analytics: true +google_analytics: 'UA-113797180-1' website: fullhacker.github.io email: fullhackerblog@gmail.com description: >- # this means to ignore newlines until "baseurl:" diff --git a/_includes/google-analytics.html b/_includes/google-analytics.html index a116559..b8d4f91 100644 --- a/_includes/google-analytics.html +++ b/_includes/google-analytics.html @@ -1,19 +1,8 @@ - - \ No newline at end of file diff --git a/_includes/head.html b/_includes/head.html index e626d8d..70b38a8 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -34,14 +34,13 @@ - - - - {% if jekyll.environment == 'production' and site.google_analytics %} {% include google-analytics.html %} {% endif %} + + +