Information to help you set several settings on the mbox.js Settings page.
mbox.js end-of-life: On March 31, 2021, Adobe Target will no longer support 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.
The default settings of the mbox.js function library serve the needs of most Target customers.
If needed, consult your account representative to change the mbox.js settings.
The following settings are available:
The client code for your account.
When viewing Administration > Implementation, the Client at the top is the client code for your account.
The Target request timeout.
When viewing Administration > Implementation, the Timeout (seconds) setting is your Target request timeout. By default this value is set to 15 seconds, but we recommend setting it to a value between 2 seconds and 5 seconds.
Determines whether the browser sets cookies in your own domain (1st party cookies), Target’s domain, or both.
Changing this setting affects both mbox.js and at.js.
Determines how compressed the mbox.js library file is. Increasing the compression level decreases the page-load time.
Returns extra parameters to pass to each mbox call.
Returns false to exclude specific users.
return !navigator.userAgent.indexOf(‘Safari’) != -1;
The following browsers can be accepted or excluded:
Returns a string describing the domain to set first-party cookies.
Enables the Analytics Target plug-in.
If enabled, the Analytics plug-in generates plug-in code in mbox.js . This sends Analytics tag information to Target servers as an mbox request on every page tagged with Analytics .
Note that the Analytics plug-in must still be referenced on the page.
Indicates whether mbox.js should use HTTPS only or be allowed to switch between HTTP and HTTPS based on the page protocol. This is an advanced setting that defaults to False.