Skip to content
railsengines.com

AhoyCaptain

A Plausible-style analytics dashboard over your Ahoy data

Takes off your invoice

You would run instead $0/mo

No ratings yet
Gem
ahoy_captain
Repository
joshmn/ahoy_captain
License
MIT
Stars
310
Added
August 14, 2026
AhoyCaptain mounted at /analytics
AhoyCaptain mounted at /analytics

About

Ahoy collects; AhoyCaptain draws. Together they are a self-hosted Plausible that
happens to live at a path in your app.

What you get

  • Visitors, page views, bounce rate and visit duration over a date range
  • Sources, referrers, UTM breakdowns
  • Top pages, entry pages and exit pages
  • Goals and event funnels
  • Filtering that composes, like the dashboard it is modelled on

Mounting it

ruby
# Gemfile
gem "ahoy_matey"
gem "ahoy_captain"

# config/routes.rb
authenticate :user, ->(user) { user.admin? } do
  mount AhoyCaptain::Engine => "/analytics"
end

Requirements worth knowing

It needs PostgreSQL with a jsonb column for Ahoy's properties. On SQLite this is
not the tool for you — reach for Active Analytics instead.

Discussion (0)

Sign in to join the discussion.

No comments yet.