From b535468618343a8af15c288ef676b5a32991c0f7 Mon Sep 17 00:00:00 2001 From: jpvicari Date: Sat, 20 Oct 2018 17:03:21 -0400 Subject: [PATCH] Moved Google Analytics to the Head (#419) * Moved Google Analytics to the Head * Update CHANGELOG --- CHANGELOG.md | 2 ++ _includes/footer-scripts.html | 2 -- _includes/head.html | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c7c5332..fff28c5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,8 @@ This file lists all non-trivial changes to Beautiful Jekyll. I often make small changes to documentation, to the demo site, or to the general look-and-feel. These changes will not be listed here. Any other minor changes will also not be listed here. +**2018-10-19** Move Google Analytics to the head (#419) (thanks @jpvicari) + **2018-06-08** Add support for Facebook comments (#350) (thanks @npes87184) **2018-02-22** Automatically generate sitemap (#323) (thanks @JosemyDuarte) diff --git a/_includes/footer-scripts.html b/_includes/footer-scripts.html index 5ad0cb1..537e9cc 100644 --- a/_includes/footer-scripts.html +++ b/_includes/footer-scripts.html @@ -30,5 +30,3 @@ {% endif %} {% endfor %} {% endif %} - -{% include google_analytics.html %} diff --git a/_includes/head.html b/_includes/head.html index 9aa6680..74a0c16 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -15,6 +15,7 @@ {% include gtag.html %} {% include gtm_head.html %} + {% include google_analytics.html %} {% if layout.common-ext-css %} {% for css in layout.common-ext-css %}