https://en.wikipedia.org/wiki/Experience_API_(Tin_Can_API)
This will be added to Tiki for H5P but also deployed elsewhere for non e-learning usage (ex.: analytics)
Data should then be stored in a Learning Record Store (LRS):
https://tincanapi.com/get-lrs/
See also https://github.com/AICC/CMI-5_Spec_Current/blob/quartz/cmi5_spec.md