Launch Property | SPA and Non SPA Pages

Avatar

Avatar

LordOfTheRings

Avatar

LordOfTheRings

LordOfTheRings

11-02-2021

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?

 

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

josejr19

Avatar

josejr19

josejr19

12-02-2021

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

Answers (0)