Skip to main content
abr 29, 2020 12:10 a. m. UTC
Resuelto

At.js about the need of mbox variable - target-global-mbox

i have a technical question , you can address it when the time is right. in At.js versions 1.8 and before the tag use to include the name of the mbox = target-global-mbox by default. but for at.js 2.2 and above has removed the need to add target-global-mbox as a mbox variable. Would you know why

Este tema ha sido cerrado para respuestas.
ryanr7Respuesta
Adobe Employee
abr 30, 2020 5:47 p. m. UTC

Hi @enauticss861856,

Like @ambikatewari_atci said the at.js 2.x equivalent of target-global-mbox (at.js 1.x, mbox.js) is the pageLoad request. Here's a link to info in help on it: https://docs.adobe.com/content/help/en/target/using/implement-target/client-side/upgrading-from-atjs-1x-to-atjs-20.html#target-global-mbox-is-no-longer-used

6 respuestas

Adobe Employee
abr 29, 2020 11:52 p. m. UTC

at.js 2.x uses a slightly different approach for the global page load. You call the pageLoad to trigger the equivalent of the target-global-mbox used in at.js 1.x. See more here in Help:

https://docs.adobe.com/content/help/en/target/using/implement-target/client-side/upgrading-from-atjs-1x-to-atjs-20.html#target-global-mbox-is-no-longer-used

Traducir
Adobe Employee
abr 30, 2020 12:02 a. m. UTC

Hi @enauticss861856,

The target-global-mbox was replaced in at.js 2.x with the pageLoad request. They are more or less equivalents. You can see more here: https://docs.adobe.com/content/help/en/target/using/implement-target/client-side/upgrading-from-atjs-1x-to-atjs-20.html#target-global-mbox-is-no-longer-used

 

Traducir
Adobe Employee
abr 30, 2020 12:04 a. m. UTC

Hi @enauticss861856,

The target-global-mbox was replaced in at.js 2.x with the pageLoad request. They are more or less equivalents. You can see more here: https://docs.adobe.com/content/help/en/target/using/implement-target/client-side/upgrading-from-atjs-1x-to-atjs-20.html#target-global-mbox-is-no-longer-used

 

Traducir
ambikaTewari_ATCI
Community Advisor
Community Advisor
abr 30, 2020 5:37 a. m. UTC

Hi @enauticss861856  in at.js 2.x, we have page load request concept. When the target image request is fired for at.js 2.X you can see "execute ---> pageLoad" in the image request. this actually works like target-global-mbox. For target this call is exactly similar with the gobal mbox request.

All params that you passed in your implementation will reflect under execute --->pageLoad.

 

 

 

Traducir
ryanr7Adobe EmployeeRespuesta
Adobe Employee
abr 30, 2020 5:47 p. m. UTC

Hi @enauticss861856,

Like @ambikatewari_atci said the at.js 2.x equivalent of target-global-mbox (at.js 1.x, mbox.js) is the pageLoad request. Here's a link to info in help on it: https://docs.adobe.com/content/help/en/target/using/implement-target/client-side/upgrading-from-atjs-1x-to-atjs-20.html#target-global-mbox-is-no-longer-used

Traducir
Adobe Employee
may 20, 2020 3:02 p. m. UTC

@enauticss861856 at.js 2.x does not have a global mbox request concept but rather a page-load request. A page-load request can be viewed as a request to retrieve content that should be applied on the initial page load of your website.

In at.js 2. x , you no longer see “ target-global-mbox ” visibly in the network calls. Instead, we have replaced the “ target-global-mbox ” syntax to “ execute > pageLoad ” in the JSON payload sent to the Target servers.

Essentially the global mbox concept was introduced to let Target know whether to retrieve offers and content on page-load. Thus, we have made this more explicit in our newest version.

 

Regards,

Karan

Traducir