Matey screenshot

Matey

Author Avatar Theme by Harled
Updated: 9 Oct 2025
21 Stars

User Engagement Tracking Components for Ahoy

Categories

Overview

Matey is a dynamic gem designed specifically for Ruby on Rails applications that utilize Ahoy for user engagement tracking. By providing a suite of prebuilt ViewComponents, Matey simplifies the observability of user interactions, making it easier for developers to gain insights into user behavior. If you’re looking to enhance your application’s user engagement analytics, Matey offers an intuitive way to visualize active users and other key metrics.

The installation process is straightforward, provided you have Ahoy properly set up and integrated into your application. With just a few simple steps, you can begin using various components to gather and display user engagement data efficiently.

Features

  • Prebuilt ViewComponents: Matey includes a collection of handy components for tracking user engagement without the hassle of creating them from scratch.

  • Active Users Tracking: The Matey::ActiveUsersComponent displays the number of active users over the previous two weeks, giving you a quick overview of your app’s activity level.

  • Flexible Data Parameters: Each component can be customized through named parameters, allowing you to tailor the data to your specific needs, such as event types and timeframes.

  • Bootstrap Styling: The gem is designed to work seamlessly with Bootstrap 5.1, ensuring that your engagement components are aesthetically pleasing and consistent with your app’s design.

  • Sample Application: Matey provides a sample application that makes it easy to test and visualize component functionality without needing to set up a full Rails app from scratch.

  • Simple Installation: Integrating Matey into your project requires minimal steps—just add it to your Gemfile and run the installation commands to get started.

  • Open Source and MIT License: The gem is available under the MIT License, promoting collaboration and contributing to an open-source environment.

  • Contribution Friendly: Matey encourages contributions from the community, inviting developers to engage with its codebase and contribute improvements or new features.