Skip to main content

Looking for Quick Setup?

For getting started quickly, check out our streamlined integration guides:

Backend APIs

Server-side tracking for Node.js, Python, Go, PHP, Ruby and any language with HTTP support.

Web Apps

Universal web integration that works with React, Next.js, Vue, Angular, and vanilla JS.

Mobile Apps

Native mobile integration for React Native and Flutter applications.

Advanced Integration Patterns

For developers who need more complex implementations and real-world patterns:

Node.js Server Examples

Advanced server-side patterns including webhooks, background jobs, and API middleware integration.

React Patterns

Advanced React patterns with custom hooks, TypeScript, context providers, and testing strategies.

Next.js Full-Stack

Complete Next.js integration with API routes, middleware, SSR tracking, and performance monitoring.

Coming Soon

Vue, Angular, and more advanced patterns coming soon. Use our universal web guide in the meantime.

Quick Reference

Universal Installation

All UserBoost integrations follow the same pattern:
npm install @userboost/sdk
import { UserBoost } from '@userboost/sdk';
UserBoost.init({ apiKey: 'your_key' });

Common Event Patterns

// User actions
ub.event('button_clicked', {
  user: { id: 'user_123' },
  properties: { button: 'signup', location: 'header' }
});

// Page/screen views
ub.event('page_viewed', {
  user: { id: 'user_123' },
  properties: { page: '/dashboard', referrer: document.referrer }
});

// Onboarding steps
ub.event('onboarding_step_completed', {
  user: { id: 'user_123' },
  properties: { step: 'profile_setup', completion: 75 }
});

Need Help?

API Reference

Complete API documentation with all available endpoints and parameters.

Event Tracking Guide

Learn how to effectively track user actions and build meaningful funnels.