Launch Property | SPA and Non SPA Pages

Avatar

Avatar
Give Back 5
Level 4
LordOfTheRings
Level 4

Likes

66 likes

Total Posts

128 posts

Correct reply

24 solutions
Top badges earned
Give Back 5
Validate 10
Validate 1
Contributor
Shape 1
View profile

Avatar
Give Back 5
Level 4
LordOfTheRings
Level 4

Likes

66 likes

Total Posts

128 posts

Correct reply

24 solutions
Top badges earned
Give Back 5
Validate 10
Validate 1
Contributor
Shape 1
View profile
LordOfTheRings
Level 4

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
Ignite 1
Level 4
josejr19
Level 4

Likes

65 likes

Total Posts

117 posts

Correct reply

20 solutions
Top badges earned
Ignite 1
Validate 1
Give Back 5
Give Back 3
Give Back 10
View profile

Avatar
Ignite 1
Level 4
josejr19
Level 4

Likes

65 likes

Total Posts

117 posts

Correct reply

20 solutions
Top badges earned
Ignite 1
Validate 1
Give Back 5
Give Back 3
Give Back 10
View profile
josejr19
Level 4

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)