Quick Start
Step 1: Create Your Project
- Sign up for a ROAARRR account
- Create a new project
- Copy your API key from the project settings
Step 2: Install the SDK
Install the ROAARRR SDK for your platform:
npm install roaarrr-browser
Step 3: Use it.
import { analytics } from 'roaarrr-browser';
// Initialize ROAARRR
analytics.init('YOUR_API_KEY');
// Identify known users
analytics.identify({
identification: 'YOUR_UUID',
});
analytics.funnel('button_click', {
buttonName: 'signup',
page: 'homepage'
});
That's it! For detailed information about each function, see the API Reference.