Changed to use rails configuration to toggle use of google analytics.