integration-ruby-on-rails

Official

PostHog analytics integrated into Ruby on Rails.

AuthorPostHog
Version1.0.0
Installs0

System Documentation

What problem does it solve?

PostHog integration for Ruby on Rails applications enables analytics, error tracking, feature flags, and automatic user context binding to backend events, unifying frontend and backend insights.

Core Features & Use Cases

  • Automatic exception tracking with posthog-rails across controllers and views
  • ActiveJob instrumentation and automatic capturing of background job errors
  • Automatic user context, identity, and properties attached to events
  • Feature flag evaluation and per-user payloads for dynamic UI changes
  • Frontend-backend integration via posthog-js alongside Ruby SDKs

Quick Start

Install the posthog-ruby and posthog-rails gems, run the installer, and configure PostHog with your project token.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: integration-ruby-on-rails
Download link: https://github.com/PostHog/skills/archive/main.zip#integration-ruby-on-rails

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.