Tracking Script v1.7.0
Bug Fixes
-
activeLocationsnow always resolves
window.convert.activeLocationsnow resolves at the end of the first location check on every project, including projects where every location waits for an element to appear on the page. Code that waited on it no longer hangs. A location that activates later still fires thelocation.activatedevent. -
activeLocationson pages waiting for consent
On a page that holds experiences until the visitor gives consent,activeLocationsnow resolves right away with an empty list instead of waiting for consent. It stays empty after consent is given. Listen forlocation.activatedto react to locations that activate after consent. -
Split URL experiences keep their exposure after a redirect
A split URL experience could miss its exposure on the destination page when another location activated after the redirect. The visitor is now counted on the destination page as expected, for both redirect and refresh, and for manualconvert.redirectandconvert.refreshcalls.