From 1c9c317282d3f3120538360aeb9e64406503f2f2 Mon Sep 17 00:00:00 2001 From: DigitalAdapt Date: Fri, 18 Jan 2019 23:21:55 -0500 Subject: [PATCH] Added Matomo Tracking code --- _config.yml | 4 ++++ _includes/head.html | 4 ++++ _includes/matomo.html | 15 +++++++++++++++ 3 files changed, 23 insertions(+) create mode 100644 _includes/matomo.html diff --git a/_config.yml b/_config.yml index 667f5d9..fcc3ed6 100644 --- a/_config.yml +++ b/_config.yml @@ -11,6 +11,10 @@ description: url: "http://theme.digitaladapt.com" baseurl: / +# Matomo Tracking +matomo_url: "//stats.digitaladapt.com/" +matomo_siteId: 2 + # Excerpts show_excerpts: true excerpt_separator: diff --git a/_includes/head.html b/_includes/head.html index 5588c40..b29214e 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -21,3 +21,7 @@ + +{%- if site.matomo_url -%} + {%- include matomo.html -%} +{%- endif -%} diff --git a/_includes/matomo.html b/_includes/matomo.html new file mode 100644 index 0000000..fe2421d --- /dev/null +++ b/_includes/matomo.html @@ -0,0 +1,15 @@ + + +