Rerun Condition Check (SPA)
(Pages and Audiences)

Re-initialization of the complete project life cycle

In the standard case ABlyft checks the targeting conditions (audiences and pages) when a page is loaded (at every request/reload of a page).

In the case of single page applications, such a reload usually does not take place.
So that a new check can take place during a (virtual) page change, it is possible to "ask" ABlyft to do so.

window.ablyft.reInit();

Please mind Check on API call as Activation Mode under the Project Settings.

ablyft-project-single-page-application-spa-settings