Expand my Community achievements bar.

ContextHub segmentation events

Avatar

Level 3

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?

0 Replies