diff --git a/.gitignore b/.gitignore
index d7adf49..79ff81c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
/_site/
/_support/
/.jekyll-metadata
+/.jekyll-cache/
diff --git a/_config.yml b/_config.yml
index 4505c68..47ea50c 100644
--- a/_config.yml
+++ b/_config.yml
@@ -46,6 +46,14 @@ ga:
cookieconsent: true
anonymizeip: true
+# Plausible.io Analytics (alternative to Google Analytics that does not need cookies -> no cookie consent required)
+# A config setting is required in plausible to enable tracking of the outbound links. Details described here:
+# https://plausible.io/docs/outbound-link-click-tracking
+# Leave empty (just "plausible:" with subitems commented out) to disable.
+#plausible:
+plausible:
+ domain: 'tsjensen.github.io'
+
# A picture of you, square(!), at least 180x180 pixels, more is better. Recommended file size < 100 KB.
# Leave empty for generic placeholder image.
diff --git a/_includes/analytics.html b/_includes/analytics.html
index 34b5fb8..d1f5d6c 100644
--- a/_includes/analytics.html
+++ b/_includes/analytics.html
@@ -1,5 +1,6 @@
-{% if site.ga %}
- {% comment %} should be the first script in the HEAD section {% endcomment %}
+{%- if site.ga and site.ga.account %}
+
+ {% comment %} should be the first script in the HEAD section {%- endcomment -%}
{% endif %}
+
+{%- endif %}
+
+{%- if site.plausible and site.plausible.domain %}
+
+{%- endif -%}
diff --git a/index.html b/index.html
index 32755e6..5f6cd9e 100644
--- a/index.html
+++ b/index.html
@@ -28,7 +28,7 @@ permalink: /
- {% comment %} Bootstrap should be the first stylesheet {% endcomment %}
+ {%- comment -%} Bootstrap should be the first stylesheet {%- endcomment %}
@@ -39,7 +39,7 @@ permalink: /
- {% if site.ga and site.ga.cookieconsent %}
+ {% if site.ga and site.ga.cookieconsent -%}
- {% endif %}
+ {%- endif %}