Expand my Community achievements bar.

SOLVED

Launch Property | SPA and Non SPA Pages

Avatar

Community Advisor

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?

 

1 Accepted Solution

Avatar

Correct answer by
Level 6

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

View solution in original post

1 Reply

Avatar

Correct answer by
Level 6

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