Scott P Burton on Ruby RSS

Work

Ruby on Rails Programmer for Indie Labs

Network

LinkedIn
Facebook
Working with Rails

Archive

Mar
10th
Thu
permalink

Google Analytics tracking for your Big Cartel store

We just launched a new feature I have been working on over at Indie Labs. This feature allows stores to track pageviews and E-commerce transactions using Google Analytics. All of the tracking is done server-side so there is no code to paste into your store’s HTML, so it is really simple to setup and use.

In order to accomplish thist I forked the Gabba gem and did some modifications to allow for tracking transactions. Most of the work was in deciphering Google’s .gif params which is normally hidden if you use their JS API. With the addition of my changes, you can now track transactions and items, in addition to the normal event and pageview tracking.