views:

188

answers:

1

Background:

We receive non web based events (like SMS) to our server, it would be nice to be able to track them via analytics.

I have thought of several solutions, but am not entirely happy with any of them.

  1. Hack together the analytics url and post it using from the server.

    Unsure if this would work as there are a lot of unexplained variables in the URL

  2. Use a Javascript library, such as Rhino to attempt to use the ga.js script without a web request.

    Once again, unsure if this will work, rhino doesn't appear to support Document which is required by the script.

  3. I was thinking about firing events from the server to a page, but of course that would require the server to have a javascript engine.

Cheers

Jono

A: 

I believe GA has a noscript option that relies on downloading a invisible image. Could you request that file from your non-web based events?

James Deville
Jonoabroad