Thank you Marcus, that did indeed help.
Could you help me find out how to move the data from Javascript into the moodle log database?
Could you help me find out how to move the data from Javascript into the moodle log database?