Expand my Community achievements bar.

Join us for an upcoming in-person Adobe Target Skill Builders event ~~> We're hosting these live learning opportunities to equip you with the knowledge and skills to leverage Target successfully. Learn more to see if we'll be coming to a city near you!

duplicated mbox calls on SPA

Avatar

Level 3

Hello

We have a few affected pages that are sending multiple calls to mbox are in a VueJS single page app. We have at.js implemented once in the page and universal-spa.combined.min.js directly after it as recommended here - https://github.com/Adobe-Marketing-Cloud/target-atjs-extensions/wiki/Universal-SPA

Currently we are using the out of the box configuration for the Universal SPA in live and this is producing multiple mbox calls.

Our developer has made a change in our test environment to use the suggested simple config for Universal SPA:

  1. adobe.target.ext.universal.router({rules:[{mbox:'target-global-mbox'}]});

but this is still producing 2 mbox calls...

There is no additional configuration or code within our web app for Target and we are simply including the 2 Adobe provided javascript files in the page. Please can anyone advise how we can make only one mbox call from our page please?

1698665_pastedImage_0.png

1 Reply