adlnet / xAPI-Spec

The xAPI Specification describes communication about learner activity and experiences between technologies.
https://adlnet.gov/projects/xapi/
909 stars 403 forks source link

Does any field in statement can store sourceUrl/location where the statement was sent? #1108

Open DiemTrinh1513636 opened 2 years ago

DiemTrinh1513636 commented 2 years ago

For tracking purposes, I want to know where the statements actually come from. Do we have the field to differentia the source URL?

thomasturrell commented 1 year ago

The context has a property called contextActivities. The valid context types are: parent, grouping, category and other.

The parent context might be suitable for your needs.

If you are referring to the URL of a webpage that sends the statements you might want to consider using xAPI extensions to record additional information (such as agent). However, it is probable that the parent context type is the most suitable property to use.