TrustPulse works on almost any website, including Single Page Applications and Headless WordPress websites.
Before You Start
Here are some things to know before you begin:
- Due to the advanced nature of this guide, at this time we do not provide technical support for implementing
.reset()
in Single Page Applications.
Examples
You would update any of the following examples’ method to use your own unique TrustPulse account ID.
The method is formatted based on your account id. So if your account ID is 12345678 you would use it where id is declared at the beginning of the code.
NextJS
If you use a different way to handle your routes, make sure the following code runs when the path is changed:
Vue Router
React Router V4
React Router V3
EmberJS
Angular JS
If you haven’t gotten started with social proof then supercharge your website with TrustPulse today!