diff --git a/README.md b/README.md index c113358..a5b0ed6 100644 --- a/README.md +++ b/README.md @@ -7,8 +7,8 @@ This plugin allows you to send AT Internet hits blocked on end-user browsers, th ## Pre-requisite * An account on [Adback.co](https://landing.adback.co/) -* The usage of first-party user id in your smarttag.js -* The activation of Callbacks in your smarttag.js file (default to true) +* The usage of first-party user id in your smarttag.js (default since 5.10.0) +* The activation of Callbacks in your smarttag.js file (default) ## Usage diff --git a/adback.js b/adback.js index 97a63ed..89bc64b 100644 --- a/adback.js +++ b/adback.js @@ -9,7 +9,7 @@ window.ATInternet.Callbacks.Adback = window.ATInternet.Callbacks.Adback || funct var protocol = ""; if (hitAt.indexOf("http") != 0) { protocol = isSecure ? "https:" : "http:"; } hitAt = protocol + hitAt; - window.parent[window.parent.document.getElementById("adback_data").getAttribute("data-adback")].API().sendXitiPixel(hitAt); + window.parent[window.parent.document.getElementById("adback_data").getAttribute("data-adback")].API().sendATInternetPixel(hitAt); }); }; window.ATInternet.Utils = window.ATInternet.Utils || {dispatchCallbackEvent: function() {}};