Skip to Content
DocumentationGetting StartedQuick Start

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 AppsCreate 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 KeysGenerate 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

npm install @attributehq/web-sdk

Initialize and Track

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