|
|
|
@ -18,17 +18,14 @@ if (domains[window.location.hostname]) { |
|
|
|
|
_paq.push(["setExcludedQueryParams", ["code","gist"]]); |
|
|
|
|
_paq.push(["setExcludedReferrers", ["etherscan.io"]]); |
|
|
|
|
_paq.push(['enableJSErrorTracking']); |
|
|
|
|
// require user tracking consent before processing data
|
|
|
|
|
_paq.push(['requireConsent']); |
|
|
|
|
_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']) |
|
|
|
|
|
|
|
|
|
// require user tracking consent before processing data
|
|
|
|
|
_paq.push(['requireConsent']); |
|
|
|
|
} else { |
|
|
|
|
_paq.push(['forgetUserOptOut']) |
|
|
|
|
// user has given consent to process their data
|
|
|
|
|
_paq.push(['setConsentGiven']) |
|
|
|
|
} |
|
|
|
|