Related Articles would like to log some events. MobileFrontend already has the Schama class which can be used by Related Articles too. This change would allow us not to pull code from MobileFrontend when the user is viewing the desktop site.
Schema.js should be updated to be an OOjs class and packaged in EventLogging. This would provide a common frontend API for beacon support and logging to servers and handling things such as sampling.
This would be useful for RelatedArticles, Gather, MobileFrontend and QuickSurveys