Linux Mint
My Places
Sign in
Community
Software
Users
Moderation
Beta Testing
ISO Images
Teams
ruby-rack-google-analytics
Simple Rack middleware to inject the Google Analytics tracking code
https://github.com/leehambley/rack-google-analytics
0
no reviews
Install
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).