diff options
author | Noah Loomans <noahloomans@gmail.com> | 2018-05-19 15:03:22 +0200 |
---|---|---|
committer | Noah Loomans <noahloomans@gmail.com> | 2018-05-19 15:03:22 +0200 |
commit | 764200da83355bf758196f3f8ab89dfa04cbb61a (patch) | |
tree | 5ac893dae76df72d76e3c855167b7c09d0e1bb3b | |
parent | e66d9028feb5245aeff463a1c9f3fb2060d224dd (diff) |
Remove Google Analytics
-rw-r--r-- | _config.yml | 25 | ||||
-rw-r--r-- | _includes/head.html | 13 |
2 files changed, 0 insertions, 38 deletions
diff --git a/_config.yml b/_config.yml index 496c492..b379060 100644 --- a/_config.yml +++ b/_config.yml @@ -1,29 +1,4 @@ -# Welcome to Jekyll! -# -# This config file is meant for settings that affect your whole blog, values -# which you are expected to set up once and rarely edit after that. If you find -# yourself editing these this file very often, consider using Jekyll's data files -# feature for the data you need to update frequently. -# -# For technical reasons, this file is *NOT* reloaded automatically when you use -# 'bundle exec jekyll serve'. If you change this file, please restart the server process. -# -# Site settings -# These are used to personalize your new site. If you look in the HTML files, -# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on. -# You can create any custom variable you would like, and they will be accessible -# in the templates via {{ site.myvariable }}. -title: Noah Loomans -email: noahloomans@gmail.com -baseurl: "" # the subpath of your site, e.g. /blog -url: "http://noahloomans.com" # the base hostname & protocol for your site, e.g. http://example.com - include: [".well-known"] - -# Build settings markdown: kramdown - sass: sass_dir: style - -google_analytics: UA-83684754-4 diff --git a/_includes/head.html b/_includes/head.html index 05e0c13..837cc7c 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -19,17 +19,4 @@ <meta property="og:image" content="{{ page.info.image }}" /> {% endif %} {% endif %} - - {% if site.google_analytics %} - <script> - (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ - (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), - 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', '{{ site.google_analytics }}', 'auto'); - ga('send', 'pageview'); - - </script> - {% endif %} </head> |