Hello
I use MATOMO for a project.
I used GDPR for the other day, but I used _paq.push(['requireConsent']);
for reading.
Only the person who agrees by displaying a pop-up saves cookies.
As a result, the total number of accesses cannot be obtained.
I want to get the total number of accesses, is there a better way?
The description is as follows
var optOut = document.getElementById("agree");
$(optOut).on('click',function(){
_paq.push(['forgetUserOptOut']);
$(".gdpr-pop").addClass("disable-pop");
_paq.push(['rememberConsentGiven', 17520]);
});
});