getAll
ThegetAll() method returns all live segments, including those associated with experiments, personalizations, or Audience tracking.
getById
ThegetById() method returns the segment for the specified ID.
Return value
getByName
ThegetByName() method returns the segment for the specified name.
Return value
reevaluate
Thereevaluate() method forces an immediate re-evaluation of the targeting conditions for the specified segment. Evaluation typically occurs at page load, resulting in statuses of true, false, or undefined. This method restarts the evaluation process as if the engine just initialized.
trigger
Thetrigger() method forces a segment trigger for the current visitor and bypasses targeting conditions.