Affiliate program

attribu.tech includes a built-in affiliate management system. Create a program, let affiliates apply, track their referrals, and manage commissions.

Setting up your program

  1. Go to your dashboard and click Affiliates in the bottom nav
  2. Open Program Settings (collapsible section at the bottom)
  3. Set your program name, URL slug, description, and logo
  4. Configure commission structure (percentage or fixed amount)
  5. Click Save

Commission settings

SettingDescription
TypePercentage (e.g. 20%) or Fixed (e.g. $10 per sale)
Cookie daysHow long the affiliate attribution cookie lasts (default: 60 days)
RecurringPay on every payment or just the first. Can be capped to X months or lifetime.
Min. payoutMinimum commission balance before an affiliate can request payout
Due afterNumber of days before commissions become payable
Auto-approveAutomatically approve new affiliate applications (skip manual review)

Multi-tier commissions (MLM)

Enable multi-tier to pay affiliates who recruit other affiliates. When enabled, commissions flow up two levels:

  • Tier 1: The affiliate who referred the customer (direct sale)
  • Tier 2: The affiliate who recruited the seller (parent)
  • Tier 3: The affiliate who recruited the recruiter (grandparent)

Each tier can be configured as a percentage of the sale amount or a percentage of the tier 1 commission. Any affiliate can recruit regardless of their depth in the tree.

Affiliate signup page

Your program gets a public signup page at:

https://attribu.tech/a/your-slug

Applicants fill out their name, email, website, and an optional note. If auto-approve is off, you review and approve them in the Applications card on the Affiliates page.

How affiliates refer customers

Each affiliate gets a unique referral link using the ?via= parameter:

https://yourdomain.com?via=affiliatecode

When a visitor clicks this link, the pixel records utm_source=affiliatecode andutm_medium=affiliate. If the visitor makes a purchase, the commission is calculated and recorded automatically.

Affiliate portal

Approved affiliates get access to a dashboard at:

https://attribu.tech/a/your-slug/dashboard

They can see their stats (visitors, conversions, revenue, commissions), commission history, referral link, sub-affiliate invite link, and update their payout email.

Managing commissions

The Commissions card on the admin Affiliates page shows all commission records. You can:

  • Filter by status (pending, approved, paid)
  • Bulk approve or mark as paid
  • See which affiliate and tier each commission belongs to

Commission calculation

Commissions are calculated automatically when a Stripe charge succeeds:

  1. Charge arrives with a visitor_id from Stripe metadata
  2. attribu.tech looks up the earliest event for this visitor with an affiliate code
  3. Tier 1 commission is calculated based on the affiliate's rate
  4. If multi-tier is enabled, tier 2 and 3 commissions are calculated for parent/grandparent affiliates
  5. If recurring is enabled, commissions are created for repeat payments (up to the cap if set)
Copied