Messenger Chatbot Integration

Hi.

I am planning to use h5p content inside a Messenger Chatbot Webview.

So far what I have done is a node js server for the webview and then I added h5p content created in h5p.com and then inserted inside an iframe.

How can I keep track of user results so I can send them to the bot?

Thank you,