Load atMore after the visitorMode #985
This commit is contained in:
parent
fd03021f1c
commit
09b979a2dc
|
|
@ -3780,14 +3780,14 @@ tarteaucitron.services.atinternet = {
|
||||||
|
|
||||||
window.tag = new ATInternet.Tracker.Tag();
|
window.tag = new ATInternet.Tracker.Tag();
|
||||||
|
|
||||||
if (typeof tarteaucitron.user.atMore === 'function') {
|
|
||||||
tarteaucitron.user.atMore();
|
|
||||||
}
|
|
||||||
|
|
||||||
if (typeof window.tag.privacy !== 'undefined') {
|
if (typeof window.tag.privacy !== 'undefined') {
|
||||||
window.tag.privacy.setVisitorOptin();
|
window.tag.privacy.setVisitorOptin();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (typeof tarteaucitron.user.atMore === 'function') {
|
||||||
|
tarteaucitron.user.atMore();
|
||||||
|
}
|
||||||
|
|
||||||
if (tarteaucitron.user.atinternetSendData !== false) {
|
if (tarteaucitron.user.atinternetSendData !== false) {
|
||||||
window.tag.page.send();
|
window.tag.page.send();
|
||||||
}
|
}
|
||||||
|
|
@ -3809,10 +3809,6 @@ tarteaucitron.services.atinternet = {
|
||||||
|
|
||||||
window.tag = new ATInternet.Tracker.Tag();
|
window.tag = new ATInternet.Tracker.Tag();
|
||||||
|
|
||||||
if (typeof tarteaucitron.user.atMore === 'function') {
|
|
||||||
tarteaucitron.user.atMore();
|
|
||||||
}
|
|
||||||
|
|
||||||
if (typeof window.tag.privacy !== 'undefined') {
|
if (typeof window.tag.privacy !== 'undefined') {
|
||||||
|
|
||||||
var visitorMode = window.tag.privacy.getVisitorMode();
|
var visitorMode = window.tag.privacy.getVisitorMode();
|
||||||
|
|
@ -3823,6 +3819,10 @@ tarteaucitron.services.atinternet = {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (typeof tarteaucitron.user.atMore === 'function') {
|
||||||
|
tarteaucitron.user.atMore();
|
||||||
|
}
|
||||||
|
|
||||||
if (tarteaucitron.user.atinternetSendData !== false) {
|
if (tarteaucitron.user.atinternetSendData !== false) {
|
||||||
window.tag.page.send();
|
window.tag.page.send();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue