ruby-rack-google-analytics

Simple Rack middleware to inject the Google Analytics tracking code
  https://github.com/leehambley/rack-google-analytics
  0
  no reviews



This middleware injects either the synchronous or asynchronous Google Analytics tracking code into the correct place of any request only when the response's `Content-Type` header contains `html` (therefore `text/html` and similar).