Launch Property | SPA and Non SPA Pages | Community
Skip to main content
ambikaTewari_ATCI
Community Advisor
Community Advisor
February 12, 2021
Solved

Launch Property | SPA and Non SPA Pages

  • February 12, 2021
  • 1 reply
  • 1073 views

Hi Team,

 

Client's few webpages are on SPA and few are on non SPA. On non SPA pages we already have target running through launch rule. Now on SPA Pages, client wants to implement target through launch so wanted to check if we can utilize same launch library ?

We need to add triggers also through launch rule so modifying same launch rule would be fine?

 

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 josejr19

@ambikatewari_atci Yes this is perfectly fine, the library needed for either type(SPA or non SPA) are the same. The only time it will vary is for server side or the mobile sdks. For the SPA pages you will just want to set up event listeners for Launch to fire the proper Target method i.e triggerView, getOffers, etc. Let me know if you have any additional questions.

1 reply

josejr19Accepted solution
Level 5
February 13, 2021

@ambikatewari_atci Yes this is perfectly fine, the library needed for either type(SPA or non SPA) are the same. The only time it will vary is for server side or the mobile sdks. For the SPA pages you will just want to set up event listeners for Launch to fire the proper Target method i.e triggerView, getOffers, etc. Let me know if you have any additional questions.