Start recording current user session
kuoll("startRecord", { API_KEY: "YOUR_API_KEY" userId: 123, userEmail: "example@kuoll.io", notes: "Anything" });
Stop recording current user session
kuoll("stopRecord", { notes: "User made a purchase, we don't care about the rest", restart: false, dontSave: false });
Restart recording
kuoll("stopRecord", { notes: "User is switching to a new project, restarting", restart: true, dontSave: false });
Please, note that in this case, the 'startRecord'
call will use same starting params current record has been launched with.