1. Create a RootCause account
Head over to app.therootcause.io and register for an account. Choose a plan suitable for your team size or go with the free Hobbyist version. Then login to the application and add a new Application “My WordPress Site”.
2. Add RootCause to your WordPress pages
After downloading and installing it, open its settings in the WordPress Settings menu.
It gives you two options – to add scripts to the WP page header or footer. Since we want RootCause to initialize early, we choose the header and insert the logger js snippet.
That’s all it takes, RootCause will now report to you when errors happen on your site and you’ll be able to replay them to know exactly how they occurred. Happy debugging!