Add an option to not send the data to atinternet #631

tarteaucitron.user.atinternetSendData = false;
This commit is contained in:
Amauri CHAMPEAUX 2021-04-27 15:00:05 +02:00
parent 47e87eb4d7
commit 4cf393cd40
1 changed files with 6 additions and 2 deletions

View File

@ -3201,7 +3201,9 @@ tarteaucitron.services.atinternet = {
window.tag.privacy.setVisitorOptin(); window.tag.privacy.setVisitorOptin();
} }
window.tag.page.send(); if (tarteaucitron.user.atinternetSendData !== false) {
window.tag.page.send();
}
}); });
}, },
"fallback": function () { "fallback": function () {
@ -3228,7 +3230,9 @@ tarteaucitron.services.atinternet = {
} }
} }
window.tag.page.send(); if (tarteaucitron.user.atinternetSendData !== false) {
window.tag.page.send();
}
}); });
} }
}; };