Quick Start
Get AttributeHQ running in your app in 5 minutes.
Create an Account
Go to attributehq.com and click Sign Up. Enter your name, email, password, and company name to create your organization.
Register Your App
In the dashboard, navigate to Apps → Create App. Select your platform (iOS, Android, or Web), fill in the required details (bundle ID, package name, or domain), and save. Copy the App ID — you’ll need it for SDK initialization.
Generate an API Key
On your app’s page, go to API Keys → Generate Key. Give it a name (e.g., “Production SDK Key”) and copy the full key immediately.
The API key is shown only once. Copy and store it securely before closing the dialog.
Install the SDK
Web
npm install @attributehq/web-sdkInitialize and Track
Web (JavaScript)
import { init, track, trackRevenue } from '@attributehq/web-sdk'
// Initialize on page load
init({
apiKey: 'ak_your_api_key',
appId: 'your-app-uuid',
})
// Track a custom event
track('button_click', { screen: 'home' })
// Track revenue
trackRevenue(1500, 'NGN', { product: 'premium_plan' })That’s it! Installs are automatically tracked on first launch, and you can view attribution data in the dashboard .
Next Steps
- Web SDK Guide — Full integration guide for websites
- iOS SDK Guide — ATT, IDFA, SKAdNetwork support
- Android SDK Guide — Install Referrer, GAID support
- React Native SDK Guide — Native bridge with Expo support
- API Reference — All 28 REST API endpoints
- Attribution — How the attribution waterfall works