Single Page Apps
Pulse Insights handles single page apps natively with no additional changes or modifications on your part.
On State Change
State changes are treated like new pageviews, and Pulse Insights will evaluate whether a survey is eligible to be returned on each state change.
Don't re-load the Pulse Insights tag on each state change. It adds unnecessary overhead and could even interfere with proper functioning.
For tags deployed prior to 2019 intending to use Single Page Apps
We recommend adding the following line to your code snippet above 'get', 'surveys'
.
This command will push the state before making the serve call for surveys and will ensure that the serving logic is using the latest URL for survey targeting.
Last updated
Was this helpful?