From 3143ed7500e99f535bcccc88e97cb42ee4e8a687 Mon Sep 17 00:00:00 2001
From: Xiao Gui <xgui3783@gmail.com>
Date: Wed, 19 Feb 2020 15:21:58 +0100
Subject: [PATCH] chore: fix matomo tracking pref

---
 src/main-aot.ts | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/main-aot.ts b/src/main-aot.ts
index 69db01cca..69a43c88a 100644
--- a/src/main-aot.ts
+++ b/src/main-aot.ts
@@ -7,8 +7,6 @@ if (MATAMO_URL && MATAMO_ID) {
   // Should also use main.js numbers to find number of actual visitors
   _paq.push(["setDoNotTrack", true]);
 
-  // require consent is set AFTER do not track, so that it will not even trigger if user has DNT set
-  _paq.push(['requireConsent']);
   _paq.push(['trackPageView']);
   _paq.push(['enableLinkTracking']);
   (function() {
-- 
GitLab