# ankane/ahoy_email

First-party email analytics for Rails

Repository: https://github.com/ankane/ahoy_email
Canonical: https://ross.abutalabs.com/products/ahoy_email
Language: Ruby
License: MIT
License Family: permissive
Topics: analytics, first-party-analytics, rails
Last push: 2026-08-17T05:38:04+00:00

## Health v2 (maintenance only)
Score: 76/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 98, release rhythm 35, longevity 100
- inputs: {"age_days": 4510, "days_push": 16, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1191, forks 144 (observed 2026-08-28T04:03:56.189049+00:00)

## What it is
Ahoy Email is a Ruby gem providing first-party email analytics for Rails applications. It offers message history storage, UTM link tagging, and click tracking for outgoing emails.

## Use cases
- track email opens and clicks in a rails app
- store a history of emails sent to users
- add utm parameters to links in outgoing emails
- self-hosted email analytics without third-party trackers
- query which emails were sent to a user

## When to choose
- you run a Rails app and want privacy-friendly, first-party email analytics
- you need an auditable record of transactional emails sent to users
- you want to avoid third-party email tracking pixels

## When to avoid
- you use a framework other than Rails
- you need open/click analytics for non-Ruby stacks
- you rely on a hosted email analytics SaaS with dashboards out of the box

## Facets
- artifact type: library
- maturity: active
- function: analytics, email, middleware
- domain: email, analytics, web-development
- platform: ruby
- tags: rails, email-analytics, utm-tagging, click-tracking, message-history, first-party, web-server

## Member repositories
- ankane/ahoy_email (main) score 76

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:56.189049+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:22:41.804901+00:00, confidence not recorded.
  - readme: https://github.com/ankane/ahoy_email (fetched 2026-08-28T04:03:56.189049+00:00, sha 5cc3fbcdf893)
- Data as of 2026-08-30T08:39:29.467469+00:00.
