Notes for SPA (Single Page Apps)

We have DIGIOH_API.LIGHTBOX.onPageUrlChanged(url, send_pv_event, update_pv_based_vars, use_master_rules, re_calc_ab_tests) available as the best way to handle SPA sites.

send_pv_event = true; //default is false. This just says whether we should count each page url change towards the pageviews analytics metric.

update_pv_based_vars = true; //default is false. This indicates whether we should count each page url change towards the pageview “rules” that count towards the Conditions.

var use_master_rules = false; //default false. This indicates whether the master rules should be re-evaluated on every page url change.

var re_calc_ab_tests = false; //default false. This indicates whether a different AB Test should be considered every time the page url changes. For example, when a different Variation should/could be displayed on every page url change.