Index

RootCause SDK Documentation

This is our SDK documentation showing all the various configuration options available for the RootCause logger. A basic setup looks like this:

<!DOCTYPE html>
<html>
    <head>
        <-- Starting recording as early as possible, to capture page load errors -->
        <script src="https://app.therootcause.io/rootcause-full.js" type="text/javascript"></script>
        <script type="text/javascript">
            var logger = new RC.Logger({
                // **Required**
                applicationId           : 'yourAppId',

                recordUserActions       : true,
                captureScreenshot       : true,
                
                logResourceLoadFailures : true,
                logAjaxRequests         : true
            });
        </script>
    </head>
    
    <body>...</body>
</html>