diff --git a/tarteaucitron.services.js b/tarteaucitron.services.js index fb7efab..ba1d311 100644 --- a/tarteaucitron.services.js +++ b/tarteaucitron.services.js @@ -3780,14 +3780,14 @@ tarteaucitron.services.atinternet = { window.tag = new ATInternet.Tracker.Tag(); - if (typeof tarteaucitron.user.atMore === 'function') { - tarteaucitron.user.atMore(); - } - if (typeof window.tag.privacy !== 'undefined') { window.tag.privacy.setVisitorOptin(); } + if (typeof tarteaucitron.user.atMore === 'function') { + tarteaucitron.user.atMore(); + } + if (tarteaucitron.user.atinternetSendData !== false) { window.tag.page.send(); } @@ -3809,10 +3809,6 @@ tarteaucitron.services.atinternet = { window.tag = new ATInternet.Tracker.Tag(); - if (typeof tarteaucitron.user.atMore === 'function') { - tarteaucitron.user.atMore(); - } - if (typeof window.tag.privacy !== 'undefined') { 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) { window.tag.page.send(); }