Highlighted

Adobe Test & Target (Async) - how to generate global mbox automatically? And how to pass / map custom fields to mboxes?

Rookie Contributor
We integrated the async T&T tag, but the target-global-mbox is not generated. a) How can I let the tag generate the target-global-mbox? b) How can I pass custom parameters or profile attributes into Target by using the mboxes? looking forward to any help sebastian
2 REPLIES 2
Highlighted

Adobe Test & Target (Async) - how to generate global mbox automatically? And how to pass / map custom fields to mboxes?

Employee Emeritus

Sabastian, The Global mBox implementation is a Synchronous implementation that can not be loaded via the Async Test and Target Tag. To use the Global mBox implementation you can use the utag.sync.js file if currently loading the utag.js Asynchronously. See here: Test and Target: Using Global mbox with utag.sync.js Custom Parameters can be passed via Mappings in the tag. Simply map Data Sources to their destination just like any other tag. Hope this helps.

Highlighted

Adobe Test & Target (Async) - how to generate global mbox automatically? And how to pass / map custom fields to mboxes?

Rookie Contributor
Hi Jared, thankt for the answer, but our case this does not solve the problem: a) as we only want to use the global mbox to collect data on pages where we are not testing to collect data. On pages were we are testing we are using a synchronous integration. Therefore I don't need the synchonous integration which slows down the page, but want to use the async T&T tag to integrate the global mbox. I saw in the template the code for the global mbox is (still) there. So how could I "activate" the global mbox from the async T&T code? Alternatively I could create any other mbox on the page to gather the data. How would I do this using the T&T async tag? b) If I have multiple mboxes on the page, how could I map parameters to specific mboxes or would all mboxes which are created by the tag contain the same parameters? If a standard mapping results in passing the key value pairs as "parameters" to mboxes how do I set profile attributes and customerIDs for the "visitor" object? could you provide an example? sebastian