integration-ruby

Official

Ruby analytics integration with PostHog SDK.

AuthorPostHog
Version1.0.0
Installs0

System Documentation

What problem does it solve?

PostHog integration for Ruby provides a straightforward way to add analytics to Ruby applications using the PostHog Ruby SDK, enabling event tracking, user identification, and error capture.

Core Features & Use Cases

  • Instance-based initialization with PostHog::Client.new(api_key: ..., host: ...) to manage the client lifecycle
  • Capture events with posthog.capture to record user actions and properties
  • Identify users with posthog.identify to link events to a user profile
  • Error tracking via posthog.capture_exception for robust diagnostics
  • Guidance for typical server-side Ruby apps (CLI tools, background workers, services)

Quick Start

Configure your environment with your PostHog project token and run a minimal Ruby script to start sending events.

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
Download link: https://github.com/PostHog/skills/archive/main.zip#integration-ruby

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.