window.Engage.triggerExperiences()
The triggerExperiences() function reruns every web experience and web experiment that's live in Sitecore Personalize. This function is particularly useful if you want to run personalization, for example:
- In a multi-page application, on the same page in response to user input.
- In a single-page application (SPA), when the user navigates between routes.
You can only use this function if you previously set the [webPersonalization](settings-object.html#UUID-60c6365e-ff13-69eb-f0eb-aab96f66de3e_para-idm1903353065604344) attribute to true in the settings object in the [Engage.init()](engage-init.md "Engage.init(settings)") function, on the client side of your app.
Here's an example of how to use the triggerExperiences() function to make sure that web experiences and web experiments always run on the /contact route of a SPA app.
If you have suggestions for improving this article, let us know!