Add Matomo method for opt-in
This commit is contained in:
parent
5fc071a534
commit
6af0e8208c
@ -6,6 +6,7 @@ function openPolicyPopup() {
|
|||||||
|
|
||||||
function agreePolicyPopup() {
|
function agreePolicyPopup() {
|
||||||
const _paq = window._paq || [];
|
const _paq = window._paq || [];
|
||||||
|
_paq.push(['forgetUserOptOut']);
|
||||||
_paq.push(['rememberConsentGiven', 43800]);
|
_paq.push(['rememberConsentGiven', 43800]);
|
||||||
_paq.push(['rememberCookieConsentGiven']);
|
_paq.push(['rememberCookieConsentGiven']);
|
||||||
$("#mind-policy-popup").fadeOut(300); // Disable the div
|
$("#mind-policy-popup").fadeOut(300); // Disable the div
|
||||||
|
Loading…
Reference in New Issue
Block a user