add google analytics code to core.rb