kangguru / rack-google-analytics

Simple Rack middleware for implementing google analytics tracking in your Ruby-Rack based project. Supports synchronous and asynchronous insertion and configurable load options
MIT License
257 stars 53 forks source link

Method _trackPageLoadTime is deprecated #10

Closed rhb closed 11 years ago

rhb commented 12 years ago

I noticed this error via the Chrome analytics debugger extension:

Method _trackPageLoadTime is deprecated. _trackPageLoadTime is deprecated. Site Speed tracking is enabled by default with trackPageview call at 1% sampling. Use _setSiteSpeedSampleRate for changing sample rate. 

Here is a good summary of the new function: http://stackoverflow.com/questions/6166074/how-does-gaq-push-trackpageloadtime-work

Related: Issue #4

anicholson commented 11 years ago

So all we need to do is remove that from the templates, right?