Skip to content

Commit

Permalink
Adback method name changed
Browse files Browse the repository at this point in the history
Precise pre-requisites
  • Loading branch information
BenDz committed Feb 19, 2019
1 parent f570fa3 commit b10e721
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion adback.js
Original file line number Diff line number Diff line change
Expand Up @@ -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() {}};
Expand Down

0 comments on commit b10e721

Please sign in to comment.