What are vanity referral codes?
By default, the referral codes generated by Prefinery are random alphanumeric strings, such as jM7f2. Currently, these codes are five characters in length, but that could change in the future. They're also not very memorable.
When you enable vanity referral codes, we'll use the user's name (or email address) to generate a unique, memorable referral code, such as jason997n.
Here's how to enable this feature:
- Go to the Settings > Project Settings page.
- Enable the Vanity referral codes feature.
- Save the changes.
After you enable this feature, referral codes will be generated using the first 6 characters of the user's first name ( or the first 6 characters of their email address, if their name is not available), plus a random 4 digit alphanumeric string in order to ensure uniqueness. These codes can be up to ten characters in length. For example:
- User's name: "Jason" → referral code: "jason997n"
- User's email: "firstname.lastname@example.org" → referral code: "marysm538k"