I didn't bother with a spec since there are already 8 failing specs. I did test it manually though.
New --ga option for generating google analytics info in the layout
All the specs do pass. You should just have to bundle install and bundle exec rspec spec. So tests would still be appreciated.
bundle exec rspec spec
New approach relies on a hard-coded string
Were you able to get tests running? If so, can you write some for this?