Guide

How Referral Codes Work: The Complete Mechanics

A detailed explanation of how referral code systems work on crypto casinos — from the technical mechanics to why platforms offer them and what benefits they provide.

Editorial Team
Updated:
8 min read
Referral CodesMechanicsEducation

Editorial Policy: This content was researched and written by our editorial team. We verify all information for accuracy before publishing. If you spot an error, contact us.

Quick Answer

How do referral codes work?

Referral codes work by creating a tracked relationship between a new user and a referrer when the code is entered at registration. The platform records this link in its database, then automatically applies predefined benefits to the new account — such as enhanced rakeback rates or RTP boosts. The referrer may also receive a commission based on the new user's activity.

Key Facts

  • Referral code creates a tracked link between user and referrer at signup
  • Platform automatically applies benefits tied to the code
  • Both parties can benefit — user gets enhanced rewards, referrer gets commission
  • Code must be entered before registration is completed
  • Most platforms only allow one referral code per account

The Technical Mechanics

Referral systems work through a combination of URL tracking and database relationships. Here is the flow from start to finish:

Step 1: Referral Link or Code Creation

A referrer (in this case, the source of DUEL5) is assigned a unique code and URL by the platform. The URL — such as duel.com/r/duel5 — is tracked in the platform's system as belonging to that specific referrer.

Step 2: User Visits the Referral URL

When a prospective user clicks the referral URL, the platform sets a tracking cookie or session parameter in the browser. If the user registers within the session, the platform knows they came via that specific referral link.

Step 3: Code Entry at Registration

During the registration process, the referral code field is either pre-filled (from the URL) or entered manually. When the user submits the form, the platform records:

  • The new user's account ID
  • The referral code they used
  • The referrer associated with that code
  • The timestamp of registration

Step 4: Benefit Activation

The platform's backend then checks the referral code against its reward configuration and applies the associated benefits to the new account. For DUEL5, this means activating 50% Enhanced Rakeback and 100% RTP on Duel Originals.

Why Do Platforms Offer Referral Codes?

Referral programs are a user acquisition strategy. For Duel, they achieve several objectives:

Platform BenefitExplanation
User AcquisitionReferral programs incentivise existing users to bring in new ones
Cost EfficiencyOften cheaper than paid advertising when measured by cost-per-active-user
Trust TransferNew users who come via referral tend to be more engaged than cold traffic
Performance-BasedPlatform only pays commission when referred users are genuinely active

Referral Code vs Promo Code vs Bonus Code

Code TypeWhen AppliedReward TypeDurationPersonal?
Referral CodeAt registrationOngoing (rakeback, RTP)OngoingLinked to referrer
Promo CodeIn account panelOne-time bonusOne-timePlatform-issued
Bonus CodeAt depositDeposit matchOne-timePlatform-issued
Affiliate CodeAt registrationVariesVariesLinked to affiliate