Ruby SDK
Send server-side events from Ruby and Rails applications.
The Ruby SDK is designed for Rails, background jobs, and webhook pipelines that need reliable event delivery.
Best for
- Rails applications
- Background jobs and webhooks
- Backend conversion tracking
Install
Add the gem and configure your credentials.
Initialize
fa = FlashAnalytics::Client.new(
app_id: 'YOUR_CLIENT_ID',
secret_key: 'YOUR_CLIENT_SECRET'
)Track events
fa.track('trial_started', {
plan: 'pro',
source: 'sales_assisted'
})Operational tracking
Use server-side events to capture billing, fulfillment, or support workflows.
