Hello,
I've developed an extension that implements a general tracking "infrastructure" for Adapt. It includes xAPI tracking.
It's available at: https://github.com/Acutilis/adapt-trackingHub
The Readme in there has a fairly detailed explanation about the concepts behind it.
Feedback and comments are welcome. Thanks.