Target API gone when reloading page in SPA Website | Community
Skip to main content
New Participant
May 22, 2021
Solved

Target API gone when reloading page in SPA Website

  • May 22, 2021
  • 1 reply
  • 1142 views

Dear All,

 

I'm facing problem in my SPA website, i have created a A/B testing activity. it is working at the very first time but when ever I'm reloading page target API call is not happened. can anyone please help me to fix this bug.

 

Thanks

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 Pawan-Gupta

Hello,

 

Which version of at.js you are using? because 2.x is better shaped to work with target in SPA

 

plz refer 

 

https://www.abhinavpuri.com/blog/target-spa/

https://experienceleague.adobe.com/docs/target/using/implement-target/client-side/at-js-implementation/upgrading-from-atjs-1x-to-atjs-20.html?lang=en#functions-overview

 

hope it helps!!

1 reply

Pawan-Gupta
Pawan-GuptaAccepted solution
New Participant
May 24, 2021