From 3fe0c0774edd23f571f27f85aecf28c0cfd2d1a2 Mon Sep 17 00:00:00 2001 From: Daneo Van Overloop Date: Sat, 26 May 2018 19:29:42 +0200 Subject: [PATCH] [Matomo] Flag for client side DNT feature - defaults to true --- layouts/partials/matomo.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/layouts/partials/matomo.html b/layouts/partials/matomo.html index a5c9c6146..f57f1dc90 100644 --- a/layouts/partials/matomo.html +++ b/layouts/partials/matomo.html @@ -1,8 +1,10 @@ {{ $siteId := cond (isset .Site.Params "matomositeid") .Site.Params.MatomoSiteId "1" }} +{{ $clientSideDNT := cond (isset .Site.Params "matomoclientsidednt") .Site.Params.MatomoClientSideDNT true }}