// require user consent before processing data _paq.push(['requireConsent']); _paq.push([‘trackPageview']); [...] // user has given consent to process their data _paq.push(['setConsentGiven']);