Server Side Google Analytics Tracking

ga

So for whatever reason I always thought this was “impossible” and google really only had it set up so that you could send GA¬†events via js on the front-end. Looks like I was definitely wrong. Just wanted to pass along this article that makes sending GA events, GA pageviews ect really easy:¬†http://mediacause.org/google-analytics-php-server-side-tracking/. Think they repository they provide is actually built for wordpress/php but the concepts are pretty wasy to follow in the code so obviously you can do this with any backend platform really.