Segmentation as a service
A JavaScript API for reacting to segments activated by user behaviors.
Last updated
Was this helpful?
A JavaScript API for reacting to segments activated by user behaviors.
Last updated
Was this helpful?
Fanplayr's Segmentation as a Service is a JavaScript API that emits events with information about segments your users fall into. You can listen to these events to implement custom actions when users fall into specific segments.
This is used in addition to the .
The following snippet is used to listen to segmentation as a service events after Fanplayr tracks each page.
This mechanism could be used to implement custom logic that opens a third-party chat service when users fall into predefined segments.