← Back to API
Single page applications
olark.configure('system.is_single_page_application', true );
Notes
Olark uses polling to check your visitor’s status while on your site. Visitors who leave your site, or have been idle for a long time without changing page, will eventually stop sending polling requests. If you have a single page application where the visitor does not change pages, they may incorrectly be detected as being idle.
You can prevent this by setting is_single_page_application
to true
.