robbyrussell/GoogleAnalyticsProxy

July 11, 2012

analytics / google

This class allows you to test event tracking in a development environment without throwing JavaScript errors because google analytics isn’t loaded. When Google Analytics is loaded, it’ll trigger the corresponding pageTracker functions as you’d expect in a production environment.