Google Analytics Rails Plugin w/ new tracking code

If you using the Google Analytics plugin, but want to use the new tracking code. Then replace the self.included(base) definition in “google_analytics/lib/google_analytics.rb” with this one:
def self.included(base) #nodoc#

base.class_eval do

@@no_analytics_key_message = ‘Add your analytics key with code like GoogleAnalyticsHelper.analytics_key = “ZZ-NNNNNN-N”‘

[...]