|
|
|
@ -20,14 +20,17 @@ if (domains[window.location.hostname]) { |
|
|
|
|
_paq.push(['enableJSErrorTracking']); |
|
|
|
|
// require user tracking consent before processing data
|
|
|
|
|
_paq.push(['requireConsent']); |
|
|
|
|
// OR require user cookie consent before storing any cookies
|
|
|
|
|
_paq.push(['requireCookieConsent']); |
|
|
|
|
_paq.push(['trackPageView']); |
|
|
|
|
_paq.push(['enableLinkTracking']); |
|
|
|
|
_paq.push(['enableHeartBeatTimer']); |
|
|
|
|
if (!window.localStorage.getItem('config-v0.8:.remix.config') || |
|
|
|
|
(window.localStorage.getItem('config-v0.8:.remix.config') && !window.localStorage.getItem('config-v0.8:.remix.config').includes('settings/matomo-analytics'))) { |
|
|
|
|
_paq.push(['optUserOut']) |
|
|
|
|
|
|
|
|
|
} else { |
|
|
|
|
_paq.push(['forgetUserOptOut']) |
|
|
|
|
// user has given consent to process their data
|
|
|
|
|
_paq.push(['setConsentGiven']) |
|
|
|
|
} |
|
|
|
|
(function () { |
|
|
|
|
var u = "https://ethereumfoundation.matomo.cloud/"; |
|
|
|
|