add ga code to core.rb