rack-tracker - Tracking made easy: Don’t fool around with adding tracking and analytics partials to your app and concentrate on the things that matter

  •        29

Most of the applications we're working on are using some sort of tracking/analytics service, Google Analytics comes first but its likely that more are added as the project grows. Normally you'd go ahead and add some partials to your application that will render out the needed tracking codes. As time passes by you'll find yourself with lots of tracking snippets, that will clutter your codebase :) When just looking at Analytics there are solutions like rack-google-analytics but they just soley tackle the existence of one service. This will add Google Analytics as a tracking handler.

https://www.railslove.com/open-source
https://github.com/railslove/rack-tracker

Tags
Implementation
License
Platform

   




Related Projects

rack-google-analytics - Simple Rack middleware for implementing google analytics tracking in your Ruby-Rack based project

  •    Ruby

There is a new gem for various tracking and analytics services, which includes all the functionality of rack-google-analytics. So if you need more than just google, checkout the rack-tracker gem. Simple Rack middleware to help injecting the Google Analytics tracking code in your website.

rack-google-analytics

  •    Ruby

Simple Rack middleware for implementing google analytics tracking in your Ruby-Rack based project. Supports synchronous and asynchronous insertion and configurable load options

rack-attack - Rack middleware for blocking & throttling

  •    Ruby

Rack::Attack is a rack middleware to protect your web app from bad clients. It allows safelisting, blocklisting, throttling, and tracking based on arbitrary properties of the request. Throttle and fail2ban state is stored in a configurable cache (e.g. Rails.cache), presumably backed by memcached or redis (at least gem v3.0.0).

omnicontacts - A generalized Rack middleware for importing contacts from major email providers.

  •    Ruby

Inspired by the popular OmniAuth, OmniContacts is a library that enables users of an application to import contacts from their email or Facebook accounts. The email providers currently supported are Gmail, Yahoo and Hotmail. OmniContacts is a Rack middleware, therefore you can use it with Rails, Sinatra and any other Rack-based framework. OmniContacts uses the OAuth protocol to communicate with the contacts provider. Yahoo still uses OAuth 1.0, while Facebook, Gmail and Hotmail support OAuth 2.0. In order to use OmniContacts, it is therefore necessary to first register your application with the provider and to obtain client_id and client_secret.

rack-ssl-enforcer - A simple Rack middleware to enforce ssl connections

  •    Ruby

Rack::SslEnforcer is a simple Rack middleware to enforce SSL connections. As of Version 0.2.0, Rack::SslEnforcer marks Cookies as secure by default (HSTS must be set manually). Tested against Ruby 1.8.7, 1.9.2, 1.9.3, 2.0.0, 2.1.10, 2.2.7, 2.3.4, 2.4.1, ruby-head, REE and the latest versions of Rubinius & JRuby.


redis-throttle - Rack middleware for rate-limiting incoming HTTP requests configured to be used with Redis

  •    Ruby

This is a fork of the Rack Throttle middleware that provides logic for rate-limiting incoming HTTP requests to Rack applications using Redis as storage system. You can use Rack::RedisThrottle with any Ruby web framework based on Rack, including Ruby on Rails 3.0 and Sinatra. This gem was designed to experiment rate limit with Rails 3.x and Doorkeeper. Redis Throttle Middleware come to life thanks to the work I've made in Lelylan, an open source microservices architecture for the Internet of Things. If this project helped you in any way, think about giving us a star on Github.

rollbar-gem - Exception tracking and logging from Ruby to Rollbar

  •    Ruby

Rollbar is a real-time exception reporting service for Ruby and other languages. The Rollbar service will alert you of problems with your code and help you understand them in a ways never possible before. We love it and we hope you will too. Rollbar-gem is the SDK for Ruby apps and includes support for apps using Rails, Sinatra, Rack, plain Ruby, and other frameworks.

rack-bug - Debugging toolbar for Rack applications implemented as middleware

  •    Ruby

Rack::Bug adds a diagnostics toolbar to Rack apps. When enabled, it injects a floating div allowing exploration of logging, database queries, template rendering times, etc. Just 'use Rack::Bug' as any other middleware. See the SampleApp in the spec/fixtures folder for an example Sinatra app.

rack-fiber_pool - Rack middleware to execute each request in a Fiber

  •    Ruby

A Rack middleware component which runs each request in a Fiber from a pool of Fibers.Add a require and use statement to your Rack app. See example/app.rb for a simple Sinatra app which illustrates proper usage. In general, you want the FiberPool to be inserted as early as possible in the middleware pipeline.

rack-contrib - Contributed Rack Middleware and Utilities

  •    Ruby

This package is semver compliant; you should use a pessimistic version constraint (~>) against the relevant 2.x version of this gem. This version of rack-contrib is only compatible with rack 2.x. If you are using rack 1.x, you will need to use rack-contrib 1.x. A suitable pessimistic version constraint (~>) is recommended.

rack-canonical-host - Rack middleware for defining a canonical host name.

  •    Ruby

Rack middleware that lets you define a single host name as the canonical host for your application. Requests for other host names will then be redirected to the canonical host. For most applications, you can insert the middleware into the config.ru file in the root of the application.

rack-cors - Rack Middleware for handling Cross-Origin Resource Sharing (CORS), which makes cross-origin AJAX possible

  •    Javascript

Rack::Cors provides support for Cross-Origin Resource Sharing (CORS) for Rack compatible web applications. Put something like the code below in config/application.rb of your Rails application. For example, this will allow GET, POST or OPTIONS requests from any origin on any resource.

faraday - Simple, but flexible HTTP client library, with support for multiple backends.

  •    Ruby

Faraday is an HTTP client lib that provides a common interface over many adapters (such as Net::HTTP) and embraces the concept of Rack middleware when processing the request/response cycle. It also includes a Rack adapter for hitting loaded Rack applications through Rack::Test, and a Test adapter for stubbing requests by hand.

rack-throttle - Rack middleware for rate-limiting incoming HTTP requests.

  •    Ruby

Rack middleware for rate-limiting incoming HTTP requests.

rack-server-pages - Rack middleware and application for serving dynamic pages in very simple way.

  •    Ruby

Rack middleware and application for serving dynamic pages in very simple way.

rack-ssl - Rack middleware to force SSL

  •    Ruby

Rack middleware to force SSL

rack-recaptcha - Rack Middleware for CAPTCHA verification via Recaptcha API

  •    Ruby

Rack Middleware for CAPTCHA verification via Recaptcha API

rack-codehighlighter - Rack Middleware for code highlighting.

  •    Ruby

Rack Middleware for code highlighting.

rack-raw-upload - Rack middleware to handle raw file uploads

  •    Ruby

Rack middleware to handle raw file uploads

rack-perftools_profiler - Middleware for profiling Rack-compatible apps using perftools.rb

  •    Ruby

Middleware for profiling Rack-compatible apps using perftools.rb