mirror of
https://github.com/Findus23/lw1.at.git
synced 2024-09-16 12:13:44 +02:00
no cookies
This commit is contained in:
parent
16e1f1ade4
commit
2f65a68df7
1 changed files with 2 additions and 1 deletions
|
@ -4,10 +4,11 @@ export default class MatomoTracker {
|
|||
let _paq = _paq || [];
|
||||
_paq.push(['setRequestMethod', 'POST']);
|
||||
_paq.push(['enableHeartBeatTimer']);
|
||||
_paq.push(['HeatmapSessionRecording::disableAutoDetectNewPageView']);
|
||||
|
||||
if (process.env.NODE_ENV === "production") {
|
||||
_paq.push(["setDoNotTrack", true]);
|
||||
}
|
||||
_paq.push(['disableCookies']);
|
||||
(function() {
|
||||
let u = (process.env.NODE_ENV === "production") ? "https://matomo.lw1.at/" : "//localhost/piwik/";
|
||||
_paq.push(['setTrackerUrl', u + ((process.env.NODE_ENV === "production") ? 'statistics.php' : 'piwik.php')]);
|
||||
|
|
Loading…
Reference in a new issue