refVenue Documentation
Complete guide to setting up and managing your affiliate program with refVenue
Welcome to refVenue
refVenue is a complete affiliate management platform that helps businesses track referrals, manage affiliates, and automate commissions.
What is refVenue?
refVenue provides everything you need to run a successful affiliate program:
- Automatic Tracking - Track clicks, signups, and purchases automatically
- Stripe Integration - Connect your Stripe account for automatic purchase tracking
- Fraud Detection - Built-in fraud prevention and quality scoring
- Coupon Tracking - Track conversions via coupon codes (no click required)
- Tiered Commissions - Support for 2-level affiliate structures
- Affiliate Dashboard - Self-service portal for your affiliates
Quick Start
For Merchants
- Sign up for a refVenue account
- Create your first program
- Invite affiliates
- Integrate tracking on your website
- Connect Stripe (optional but recommended)
For Affiliates
- Accept an invitation or browse the marketplace
- Create referral links
- Create coupon codes (optional)
- Share with your audience
- Track your performance
Key Features
Automatic Tracking
refVenue automatically tracks affiliate clicks and conversions using cookies and intelligent attribution. Simply add our JavaScript snippet to your website.
Stripe Integration
Connect your Stripe account once and refVenue will automatically:
- Track all purchases
- Handle refunds and chargebacks
- Detect and attribute coupon usage
- Calculate commissions on net amounts (after discounts)
Coupon-Based Attribution
Affiliates can create coupon codes. When customers use these coupons at checkout:
- Conversions are automatically attributed to the affiliate
- No prior referral click required
- Works with Stripe (automatic) or manual tracking
Fraud Prevention
Built-in fraud detection includes:
- Rate limiting (clicks and conversions)
- Email validation and disposable email blocking
- Geographic anomaly detection
- Self-referral detection
- Automated quality scoring
Commission Flexibility
Commission Types:
- Percentage-based: e.g., 10% of sale amount
- Fixed amount: e.g., $5 per signup
Commission Calculation:
- Commissions calculated on NET amount (after discounts)
- Supports tiered commissions (2-level affiliate structures)
- Automatic refund and chargeback reversal
Documentation Sections
Getting Started
- For Merchants - Set up your affiliate program
- For Affiliates - Start earning commissions
Merchant Guides
Affiliate Guides
Integration
API Reference
Support
Need help? We're here for you:
Open Source
refVenue is built with modern technologies:
- Next.js 14 - React framework
- Prisma - Database ORM
- Neon - Serverless Postgres
- Auth.js v5 - Authentication
- Stripe - Payment processing
- Resend - Email delivery
Start exploring the documentation to get the most out of refVenue!