Skip to main content
This module provides methods to manage triggers and targeting.

getAll

The getAll() method returns all live triggers, including those associated with experiments, personalizations, or Audience tracking.
Return value

getById

The getById() method returns the trigger for the specified ID.
Arguments Return value

getByName

The getByName() method returns the trigger for the specified name.
Arguments Return value

reevaluate

The reevaluate() method forces an immediate re-evaluation of the targeting conditions for the specified trigger. 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.
Arguments

trigger

The trigger() method forces a trigger to fire for the current visitor and bypasses targeting conditions.
Arguments