Target for SPA | Community
Skip to main content
ravi7
New Participant
April 10, 2023
Solved

Target for SPA

  • April 10, 2023
  • 1 reply
  • 792 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Matthew_Ravlich_ACG

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-page-application/#implementing-adobe-target-views

 

https://experienceleague.adobe.com/docs/experience-platform/edge/personalization/adobe-target/spa-implementation.html?lang=en

 

I hope that helps! 

 

Matthew Ravlich | ACG Digital | albertacg.com

1 reply

Matthew_Ravlich_ACG
Matthew_Ravlich_ACGAccepted solution
New Participant
April 10, 2023

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-page-application/#implementing-adobe-target-views

 

https://experienceleague.adobe.com/docs/experience-platform/edge/personalization/adobe-target/spa-implementation.html?lang=en

 

I hope that helps! 

 

Matthew Ravlich | ACG Digital | albertacg.com