Information to help your technical staff understand the mbox.js implementation and how it might affect your site.
mbox.js end-of-life: As of March 31, 2021, Adobe Target no longer supports the mbox.js library. Post March 31, 2021, all calls made from mbox.js will gracefully fail and impact your pages that have Target activities running by serving default content.
Target Standard requires mbox.js version 58 or later. For instructions on how to download and update mbox.js, see Mbox Implementation.
Target.js creates an mbox called
target-global-mbox in the
<head> section of your page.
Target.js has two functions in Target:
In addition, the following snippet is used for polling the DOM:
When you use the Visual Experience Composer to set up an experience for an activity, your web page is opened in an iFrame. When the iFrame is loaded, Standard sends an HTML5
postMessage API call. Target.js detects any
If you are implementing Target in an Angular site or in any Single-Page Application (SPA), you should use the at.js library instead of mbox.js.
For more information, see at.js Implementation.