Why have we made this enhancement?
These changes have been made to provide enhanced support for SPAs, allowing you to pass behavioral and product data directly to the Fresh Relevance script and receive notifications when the script performs certain actions.
This enhancement will also reduce dependency on the detection of page transitions and collection of product information from the page HTML.
We’ve implemented new event emitters from the Fresh Relevance script. These will allow you to react to events raised by the script, for example when each element of personalization is about to be inserted, or all personalization is complete.