Add Matomo method for opt-in

This commit is contained in:
Lorenzo Dellacà 2021-03-16 17:40:31 +01:00
parent 5fc071a534
commit 6af0e8208c

View File

@ -6,6 +6,7 @@ function openPolicyPopup() {
function agreePolicyPopup() {
const _paq = window._paq || [];
_paq.push(['forgetUserOptOut']);
_paq.push(['rememberConsentGiven', 43800]);
_paq.push(['rememberCookieConsentGiven']);
$("#mind-policy-popup").fadeOut(300); // Disable the div