Description
Ahoy Email is a first-party email analytics gem for Ruby on Rails. It has three features that can be used independently: message history, UTM tagging and click analytics. Message history records the emails your app sends and links them to a user. The user association is polymorphic, so it works with any model, and you can add an association to get every message sent to a user. The README shows how to encrypt stored email addresses with Lockbox or Active Record encryption, or to skip encryption altogether. Click analytics track click-through rate so you can see how a campaign performs. Stats can be kept in your database, in Redis or in another data store, and you can skip specific links. Unsubscribe links are excluded by default. The README also covers data retention, which deletes older records and can be limited to certain actions, and a call that returns stats for a campaign. Upgrade notes for version 4.0 are included. The gem is installed through the Gemfile, and the project is public on GitHub. It suits Rails teams that want to measure their own email without a third-party service.…
Highlights
- Message history linked to any model
- UTM tagging for links
- Click-through analytics for campaigns
- Stats stored in a database or Redis
- Data retention cleanup
Ratings & Reviews
No ratings yet
Be the first to rate Ahoy Email.
People also visit
Active Analytics
First-party, privacy-focused traffic analytics for Ruby on Rails applications

Email Audit Engine
Supercharge your campaigns! Boost strategies and outperform the competition
Sendportal
Open-source email marketing platform offering unlimited subscribers, campaigns
Ahoy Email FAQ
What is Ahoy Email?
A first-party email analytics gem for Ruby on Rails.
What can it track?
Message history, UTM tagging and click analytics. Each can be used on its own.
Can I keep email addresses unencrypted?
Yes. The README includes a setup for skipping encryption, as well as setups for Lockbox and Active Record encryption.
Where are click stats stored?
In your database by default. The README says they can also go in Redis or any other data store.
How do I delete old data?
The README shows a data retention command that deletes older records, and you can limit it to certain actions.
What are the best Ahoy Email alternatives?
Popular alternatives to Ahoy Email include Ahoy, Ahoy.js and Active Analytics. See all Ahoy Email alternatives



