ReferAgent is a powerful, developer-first referral campaign framework. Create trackable links, reward conversions, and scale your growth with real-time analytics.
A complete toolkit for creating, managing, and analyzing referral campaigns across all platforms.
Generate unique, trackable referral links with custom aliases. Each link captures source, medium, and user attribution.
Monitor clicks, conversions, and revenue in real-time. Visualize performance with interactive charts and heatmaps.
Launch campaigns across Twitter, Instagram, YouTube, and custom platforms. Unified tracking across all channels.
Configure rewards as points, tokens, discounts, or custom values. Automate payouts based on conversion events.
Built-in bot detection, IP deduplication, and click fraud prevention. Keep your campaigns clean and accurate.
Track conversions worldwide with geo-targeting and timezone support. Localize campaigns for maximum impact.
ReferAgent provides a simple REST API and JavaScript SDK for seamless integration. Track events, generate links, and manage campaigns programmatically.
import { ReferAgent } from '@referagent/sdk'
// Initialize the client
const agent = new ReferAgent({
apiKey: process.env.REFERAGENT_KEY
})
// Create a campaign
const campaign = await agent.campaigns.create({
name: 'Product Launch',
platform: 'twitter',
rewardType: 'token',
rewardValue: 50
})
// Generate a referral link
const link = await agent.links.create({
campaignId: campaign.id,
alias: 'LAUNCH2024'
})
// Track a conversion
await agent.conversions.track({
linkCode: 'LAUNCH2024',
value: 99.99,
metadata: { plan: 'pro' }
})Get your referral program live in three simple steps
Define your campaign parameters: target URL, platform, reward structure, and tracking settings.
Create unique referral links for your users. Each link tracks clicks, conversions, and attribution.
Monitor performance in real-time and automatically reward users when conversions happen.
Join thousands of teams using ReferAgent to scale their user acquisition through referrals.