Background:
We do not receive web events (for example, SMS) to our server, it would be nice to track them through analytics.
I thought of several solutions, but am not completely satisfied with any of them.
Hack analytics URL and publish it from the server.
Not sure if this will work as there are a lot of inexplicable variables in the url.
Use a Javascript library like Rhino to try using a ga.js script without a web request.
Once again, not sure if this will work, the rhino does not support the Document, which is required by the script.
I was thinking about how to fire events from the server to the page, but, of course, this requires a server to work with the javascript engine.
Greetings
Jono