Fall Product Update: MCP, Shopify Plus & deeper control ahead of BFCM
0
Days
0
Hours
0
Minutes
0
Seconds
See what's new
2025-09-24 12:00 am
2025-05-21 12:00 am
2025-03-14 12:00 am
2025-05-20 12:00 am
2025-04-22 12:00 am
2025-09-29 12:00 am

What is a referral link?


A referral link, also called a referral URL, invite link, or tracking link, is a unique, trackable URL assigned to a specific referrer. When a new customer clicks this link and completes a qualifying action (signup, purchase, subscription activation), the referral engine attributes the event back to the original referrer for reward issuance.

In Voucherify, referral links can be generated for each referrer and encoded with a unique referral code or token, ensuring deterministic attribution through the Voucherify API.

How referral links work?

A referral link typically looks like: https://yourbrand.com/?ref=ABCD1234, but this is only the user-facing form.

Under the hood, the referral link can operate on several layers:

  • Token generation: Voucherify generates a unique referral code or identifier tied to the referrer’s customer profile.
  • Link construction: The code is embedded in the URL as a query parameter (e.g., ref, src, voucherify_ref_code), using a brand-defined pattern.
  • Redirection or deep linking: The link may: redirect to a landing page, open a mobile app (via deep link / URI scheme), trigger onboarding flows, or pre-fill form fields.
  • Tracking and attribution: When a referee clicks the link the tracking metadata is captured (device, IP, UTM parameters, timestamp), the referral code is preserved across navigation (cookies, localStorage, server session, or mobile app context), and attribution is completed upon qualifying event.
  • Reward logic evaluation: Finally, Voucherify checks if the referee new or returning, did the action meet referral rules (purchase amount, segment, product restrictions), and if the referrer already reached a reward cap or tier.
  • Reward dispatch: Rewards (discounts, gift cards, loyalty points, store credit) are automatically issued according to referral logic.

What makes referral links effective?

  • Deterministic attribution: No more guessing which customer referred whom as the link encodes identity.
  • Device-agnostic tracking: Links work across mobile, desktop, webviews, and email clients.
  • Low-friction onboarding: Users click a link and automatically enter a referral funnel, without manual code entry.
  • Composable metadata: Referral links can carry UTMs, campaign identifiers, edition/version flags, feature toggles, and more.
  • Event-driven reward processing: Links are compatible with event-based systems (webhooks, API events), enabling real-time referral program logic.

Best practices for secure referral links

  • Use deep links for mobile: Preserve attribution during app install / open.
  • Store referral codes server-side: Avoid relying solely on query parameters.
  • Prevent self-referrals: Validate emails, device IDs, and payment methods.
  • Delay rewards: Issue points/credit only after order delivery or return window closure.
  • Use short, memorable codes: Shareability increases referral volume.
  • Instrument tracking: Log link clicks, session stitching, and attribution flows.
  • Provide visibility: Show the referrer their referral count, pending rewards, and milestones.

Are you optimizing your incentives or just running them?