diff --git a/README.md b/README.md index c2e5ac9..8b4620d 100644 --- a/README.md +++ b/README.md @@ -58,8 +58,9 @@ There are many improvements big and small over front-cover, making *Fuse Core* a because a myriad of problems are already handled by the folks at Bootstrap. - [SASS](https://sass-lang.com/) styling instead of raw CSS - Up-to-date libraries, especially Font Awesome 5. -- Support for [Google Analytics ](https://analytics.google.com/analytics/web/), including some legal details - such as IP anonymization and cookie consent popup (all optional). +- Support for [Google Analytics ](https://analytics.google.com/analytics/web/), including tracking of outbound links + (so you'll know which social media profiles people clicked on), and some legal details such as IP anonymization + and cookie consent popup (all optional). - Search engine control via configurable meta tags - Responsive sticky footer diff --git a/_includes/analytics.html b/_includes/analytics.html new file mode 100644 index 0000000..9cc3e57 --- /dev/null +++ b/_includes/analytics.html @@ -0,0 +1,17 @@ +{% if site.ga %} + {% comment %} should be the first script in the HEAD section {% endcomment %} + + + {% endif %} diff --git a/index.html b/index.html index adeabb7..2a9d16a 100644 --- a/index.html +++ b/index.html @@ -14,15 +14,7 @@ permalink: / {% if site.url %}{% endif %} - - {% if site.ga %} - - {% endif %} + {% include analytics.html %} @@ -90,7 +82,9 @@ permalink: /