disable
Thedisable() method marks a personalization as turned off. Use this for interactive elements like pop-ins. When a user closes the element, call disable() to update the personalization status. Kameleoon automatically implements this call for native, non-custom interface elements.
getActive
ThegetActive() method returns active personalizations for the current visit and page. A personalization is active if its variation code has executed and the associated action remains visible. To retrieve personalizations that triggered on other URLs or that are now closed, such as pop-ins, use getTriggeredInVisit().
getAll
ThegetAll() method returns all live personalizations (running, not draft/paused/stopped).
getById
ThegetById() method returns the personalization for the specified ID.
Return value
getByName
ThegetByName() method returns the personalization for the specified name.
Return value
getTriggeredInVisit
ThegetTriggeredInVisit() method returns all personalizations triggered during the current visit.
getActivatedInVisit
ThegetActivatedInVisit() method returns all personalizations activated during the current visit.
trigger
Thetrigger() method forces a personalization to trigger, bypassing targeting segment conditions. This action initiates the personalization but might not activate it.