Custom Library (or extend) + Analytics in D2L
The idea is that students to log in and do as many problems as they would like to do. Check their answers and mark whether they got the quesiton right or wrong. I would like to record an array of the latex for each question attempted, the total number attempted and the number correct (as self assessed).
This leads me to a couple of questions:
- I presume if I write my own Content library from scratch I will need to use some API calls to pass user details to the analytics. Is this documented?
- I don't know what analytics are provided, are these accesed through D2L or H5P.com?
The existing "Arithmetic Quiz" library is close, but I would like a cleaner UI and I don't want to hard code the number of questions, I already have the code to generate questions. I'm clearly missing something as I can't figure out from the files where the first bit of code runs from if that makes sense, so I don't know where to put my code.
I'm sorry that this is a little vague, but I feel if I can get a small bit of help I'll be able to get on top of this.
Many thanks for your patience,