Skip to content
CAI
Produce a survey ↗Verify a survey

ankane/ahoy

Ahoy is an analytics tracking library for Rails applications that captures and stores visit and event data. It supports multiple database backends including ActiveRecord, Mongoid, and MongoDB, and provides query methods for filtering and grouping analytics data. The system handles client-side and server-side tracking, bot detection, and user identification, with configurable options for geocoding, IP masking, and visit tracking.

65.3

Adequate · 2 August 2026

1.1k

lines of production code

Ruby

primary language

1

bus factor · 51 authors in all

3

measurements over time

CAI band scale
CAI trend line

How it got here

2014 · Ahoy v5.0+ refactoring and modernization

This period was defined by the integration of Ahoy v5.0 and v5.5.0, which introduced a modular architecture, new configuration options, and enhanced query capabilities. The work also involved updating the installation generator to support multiple data stores and modernizing the codebase for compatibility with Rails 7.2+ and Ruby 3.3+.

10 changes

2018–2024 · comprehensive test coverage and CI expansion

This period focused on establishing robust test coverage for query methods across multiple database backends, including SQLite, MySQL, PostgreSQL, and Mongoid. The work involved adding extensive test suites, configuration files, and support models to validate functionality and ensure compatibility with newer Rails versions in the CI environment.

6 changes

CAI lens gauges

Survey your own repository

ankane/ahoy was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point the surveyor at a repository you know and see whether you agree with it.

Survey a repository

About this page

  • The description of this project is derived from its own commit history, not from its README.
  • The score is its highest published measurement, taken on 2 August 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit d13567162a — the exact code this score is about.
  • Scored under rubric rubric-2026.08.18. Score the same commit under that rubric and you get the same number.
CAI link cards