Simple class to send custom server-side events to Google Analytics
Heavily influenced by the http://code.google.com/p/serversidegoogleanalytics
Based on deadprogrammer's gabba (https://github.com/hybridgroup/gabba)
HOW TO USE:
-
Track page views Gabbara::Gabba.new("UT-1234", "mydomain.com").page_view("something", "track/me")
-
Track custom events Gabbara::Gabba.new("UT-1234", "mydomain.com").event("Videos", "Play", "ID", "123")