This usecase describes an example implementation of optin/optout button for Session Recordings.
In the plugin configuration of the backend, activate the LiveView plugin. We used the following configuration in our example.
The JavaScript has to be integrated in each webpage where we want to co-browse.
<script src="https://cdn.chatvisor.com/cdn/js/XXXXXX.js" type="text/javascript" async></script> <button type="button" id="CV_START" onclick="CV.cobrowse.optin()" >Optin</button> <button type="button" id="CV_STOP" onclick="CV.cobrowse.optout()" >Optout</button>