What Is Meaning Of Referral Code Optional? Nowadays, almost all applications—be it digital wallets, games, or marketplaces—often ask new users to enter a referral code or invitation code when registering. But actually, is the referral code mandatory? Or is it just optional? A referral code is a unique combination of letters or numbers that identifies and connects participants in a referral program. Learn how to create and use referral codes, and why referral links are the new way to track and reward referrals. Are you wondering how you can use referral codes in your referral marketing campaigns? Here are six referral code examples to get you inspired. Referral code A referral code is a unique identifier used in analytics to attribute conversions or sign-ups to specific referrers via tracked links. Definition and Purpose This section explains what a referral code is and why it’s used in analytics.