ContextHub segmentation events

Avatar

Avatar
Validate 10
Level 2
FernandoUchiyam
Level 2

Likes

4 likes

Total Posts

39 posts

Correct reply

5 solutions
Top badges earned
Validate 10
Validate 1
Boost 3
Boost 1
Applaud 5
View profile

Avatar
Validate 10
Level 2
FernandoUchiyam
Level 2

Likes

4 likes

Total Posts

39 posts

Correct reply

5 solutions
Top badges earned
Validate 10
Validate 1
Boost 3
Boost 1
Applaud 5
View profile
FernandoUchiyam
Level 2

15-05-2019

Hi there,

I have a problem related to segmentation/ContextHub in which one of our components (that is already developed) is not working when we apply the Targetting feature.

What happens is that the component relies on a page load javascript event. It listens for the page load event to initiate a count down.

But with Targetting enabled, this event does not make sense anymore, because when the page finishes loading, the Targetting feature hasn't decided yet what segmentation will be chosen and the component is literally not there in the DOM yet.

It would make sense to listen to an event of segmentation change, but I couldn't find it.

Anyone have an idea in how to solve that?