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