A single page application (SPA) is an application where the page loads only once on the visitor’s web browser. An SPA is fully loaded on the initial page load and then page regions are updated with new page fragments loaded from the server on demand.

Normally, Engagement Engine carries out the Site evaluation and loads the Rules for a page on page load. As the page load happens only once with an SPA, this means that a different approach is required when using Engagement Engine with an SPA. For an SPA, the initial Site evaluation and loading of Rules is performed when the page loads. Subsequent Site evaluations and loading of Rules are performed when the hash fragment changes.

You can set Engagement Engine to work with an SPA by clicking on the Settings button in the navigation bar, checking the Website utilizes a single HTML page check box and clicking on the Save button. This is an account level setting and instructs Engagement Engine to treat each of your Sites as an SPA.

Note: Changing the Website utilizes a single HTML page setting instructs Engagement Engine to perform an auto-publish for each of your Sites. This ends any A/B tests that are currently active.


Copyright © 1997, 2014 Oracle and/or its affiliates. All rights reserved. Legal Notices