Expand my Community achievements bar.

Take 10 minutes to complete an Adobe Target review on Gartner Peer Insights, and as a thank you for your time, you’ll have the option to receive a $25 gift card!
SOLVED

Target API gone when reloading page in SPA Website

Avatar

Level 1

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

1 Accepted Solution

Avatar

Correct answer by
Level 9

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-implementati...

 

hope it helps!!

View solution in original post

1 Reply

Avatar

Correct answer by
Level 9

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-implementati...

 

hope it helps!!