Is there any way to post events to Google Analytics via server-side API?

X__ picture X__ · Feb 29, 2012 · Viewed 82.1k times · Source

I'm trying to use Google Analytics from our backend system by posting events to it. Is there any way to do this with GA's API on server-side?

Answer

shanabus picture shanabus · Mar 1, 2012

It is now possible (and easy) to track Analytics data from the server-side. With the launch of Universal Analytics, you can now use the Measurement Protocol to post data to the GA servers.

Code samples here