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!
SOLVED

Target for SPA

Avatar

Level 2

Can i handle SPA when i have target v1.x library in use, and global mbox (auto mbox) implementation.

1 Accepted Solution

Avatar

Correct answer by
Level 4

Hi @ravi7,

You cannot handle SPA with at.js v1.x, and you must move to v2.x or upgrade to Web SDK. The Adobe Experience Platform Web SDK offers several benefits for single-page applications, including caching all offers on page load to reduce multiple server calls to a single server call and tremendously improve the user experience on your site.

Moreover, with the Adobe Experience Platform Web SDK, a single line of code and one-time developer setup enables marketers to create and run A/B and Experience Targeting (XT) activities via the Visual Experience Composer (VEC) on your SPA. This makes it much easier and more efficient for marketers to create and manage targeted experiences for your website visitors. Therefore, if you want to take advantage of these benefits and improve the overall performance of your single-page application, I recommend upgrading to Adobe Experience Platform Web SDK.

 

Documentation:

https://developer.adobe.com/target/implement/client-side/atjs/how-to-deployatjs/target-atjs-single-p...

 

https://experienceleague.adobe.com/docs/experience-platform/edge/personalization/adobe-target/spa-im...

 

I hope that helps! 

View solution in original post

1 Reply

Avatar

Correct answer by
Level 4

Hi @ravi7,

You cannot handle SPA with at.js v1.x, and you must move to v2.x or upgrade to Web SDK. The Adobe Experience Platform Web SDK offers several benefits for single-page applications, including caching all offers on page load to reduce multiple server calls to a single server call and tremendously improve the user experience on your site.

Moreover, with the Adobe Experience Platform Web SDK, a single line of code and one-time developer setup enables marketers to create and run A/B and Experience Targeting (XT) activities via the Visual Experience Composer (VEC) on your SPA. This makes it much easier and more efficient for marketers to create and manage targeted experiences for your website visitors. Therefore, if you want to take advantage of these benefits and improve the overall performance of your single-page application, I recommend upgrading to Adobe Experience Platform Web SDK.

 

Documentation:

https://developer.adobe.com/target/implement/client-side/atjs/how-to-deployatjs/target-atjs-single-p...

 

https://experienceleague.adobe.com/docs/experience-platform/edge/personalization/adobe-target/spa-im...

 

I hope that helps!