We should add a context.registration to statements that represents a particular refresh of/visit to the page the H5P sits on.
This could be achieved by generating the UUID here using code like this and appending it to statements here.
This would help to enable the LRS to distinguish between attempts at the content. See the discussion here.