AT Connect Adback implementation

You can deploy the AT Connect AdBack integration in a few clicks by adding a simple JavaScript code to your site. Here is a list of the prerequisites for the proper operation of this integration:

  • Have an AdBack account. You need to be customer of AdBack solution, and see with AdBack how to activate the proxy part.
  • Tag Composer : Use the user id first-party in your smarttag.js (activated by default since version 5.10.0.).
  • Tag Composer : Enable callbacks in your smarttag.js (enabled by default).



You will find below the JS code to integrate on your site:


window.ATInternet = window.ATInternet || {};

window.ATInternet.Callbacks = window.ATInternet.Callbacks || {};

window.ATInternet.Callbacks.Adback = window.ATInternet.Callbacks.Adback || function(tag) {

  tag.onTrigger("Tracker:Hit:Sent:Error", (trigger, data) => {

    var hitAt = data.details.hit;

    var configSecure = tag.getConfig("secure");

    var protocolSecure = document.location.protocol === "https:";

    var isSecure = configSecure || protocolSecure;

    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().sendATInternetPixel(hitAt);



window.ATInternet.Utils = window.ATInternet.Utils || {dispatchCallbackEvent: function() {}};



You can also find these elements in the AT Internet GitHub. Here is a direct link to the AT Connect AdBack page:

Have more questions? Submit a request