Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Launch Property | SPA and Non SPA Pages

LordOfTheRings
Level 6
Level 6

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
josejr19
Correct answer by
Level 6
Level 6

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

View solution in original post

1 Reply
josejr19
Correct answer by
Level 6
Level 6

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

View solution in original post