Ahoy VS purgecss

Compare Ahoy vs purgecss and see what are their differences.

Ahoy

Simple, powerful, first-party analytics for Rails (by ankane)
Our great sponsors
  • Scout APM - Less time debugging, more time building
  • OPS - Build and Run Open Source Unikernels
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
Ahoy purgecss
7 33
3,495 6,740
- 3.1%
7.4 9.0
5 days ago 18 days ago
Ruby TypeScript
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

Ahoy

Posts with mentions or reviews of Ahoy. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-12-16.
  • Cookie-based tracking is dead
    4 projects | dev.to | 16 Dec 2021
    I did server-side tracking test in a rails app, where I implemented a tracking gem called ahoy and blazer for visualization. It is very easy to set up, but a bit hard to use. Blazer can do a very basic visualization of the data if you know your SQL queries.
  • How would you build/record/store analytics data ;
    1 project | reddit.com/r/rails | 15 Dec 2021
    https://github.com/ankane/ahoy The ahoy gem is pretty useful for this. Data model is pretty simple, it will track unique user sessions and metrics you specify will be associated with these sessions. The gem also parses the user agent, so it will indicate whether a session was on mobile, desktop or tablet.
  • Rails application boilerplate for fast MVP development
    63 projects | dev.to | 6 Aug 2021
    ahoy, ahoy_email and blazer for business intelligence
  • Active Analytics Ruby Gem
    2 projects | reddit.com/r/ruby | 21 Jun 2021
    This gem could be considered as a new alternative to Ahoy https://github.com/ankane/ahoy
  • The Ruby Unbundled Series: Track How Customers Use New Features
    3 projects | dev.to | 24 Mar 2021
    After starting Rails and logging in, we can use Blazer to see our user metrics. Browse to our mount point, which on my development environment is at http://localhost:3000/blazer. Querying the ahoy_visits table shows us relevant information about the user and their session. We can also save this query as a shortcut to run it again later. After browsing to the page twice, I ran the following query on the events table. It gave the following results. Note that both events come from the same visit, which is equivalent to a session. We have seen how to track events on the server-side. Now let's look at how to accomplish this from the frontend in Javascript. To do this, we need to enable the Ahoy api in the config/initializers/ahoy.rb file, as shown below. Note that Ahoy also supports geocoding so that you can see where your users are located. We will not explore that feature in this article, but it is a nice capability from a metrics perspective.
  • Simple and Free Web Analytics
    4 projects | news.ycombinator.com | 7 Mar 2021
  • Ankane/ahoy: Simple, powerful, first-party analytics for Rails
    1 project | news.ycombinator.com | 3 Jan 2021

purgecss

Posts with mentions or reviews of purgecss. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-01-07.

What are some alternatives?

When comparing Ahoy and purgecss you can also consider the following projects:

PostCSS - Transforming styles with JS plugins

Impressionist - Rails Plugin that tracks impressions and page views

cssnano - A modular minifier, built on top of the PostCSS ecosystem.

esbuild-loader - ⚡️ Speed up your Webpack build with esbuild

twin.macro - 🦹‍♂️ Twin blends the magic of Tailwind with the flexibility of css-in-js (emotion, styled-components, stitches and goober) at build time.

vue-vite-starter-template - A single page app Vite starter template, created to easily bootstrap Vue.js 2 apps

tailwindcss-jit

Legato - Google Analytics Reporting API Client for Ruby

Analytical

Gabba - Simple way to send server-side notifications to Google Analytics

purifycss - Remove unused CSS. Also works with single-page apps.

Staccato - Ruby library to perform server-side tracking into the official Google Analytics Measurement Protocol