Start/stop record

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.