If your web app is running on a Single Page Application framework, such as Angular or React, and is characterized by very few page refreshes, then installing Zata will be slightly different.
Normally, Zata would depend on page reloads (refresh) to update and trigger new Experiences.
Since Single Page Applications do not reload after URL changes, you must call zata.reload() after each URL change. This is typically done in your application’s router and is handled after a successful page (URL) change.
Here is what we recommend you do.
1. Adding Script and Capturing Properties and Events
First, include the Zata script in your HTML code before the closing </body> tag as you normally would.