The Google Analytics Measurement Protocol allows developers to make HTTP requests to send raw user interaction data directly to Google Analytics servers. YMMV, I haven't tried it yet but want to hook it into our app asap.
https://developers.google.com/analytics/devguides/collection...