The idea of making your referral program is indeed fundamental. There are no secret steps to undertake, except refining what you already have.
You see, if your customer has to log in, find a specific code, and copy-paste it into a message, they simply won't do it. The most successful programs integrated into the modern digital landscape use one-click sharing across WhatsApp or email. Beyond ease of use, timing is the second critical factor. Asking for a referral before the customer has experienced the value of your product is a wasted effort. You must identify the exact point where the user realises the utility of your service, and trigger the request then. Asking at the peak of satisfaction is the difference between an ignored notification and a successful conversion.
Ultimately, no amount of marketing engineering can save a referral program if the product itself isn't remarkable. A referable product solves a problem so effectively that the user feels a natural urge to share the solution. If your core offering is mediocre, a referral program has no value whatsoever. True high-leverage growth starts with product-market fit. Once you have a service that people actually love, you use the referral program to accelerate the natural word-of-mouth that is already happening. Stop trying to bribe people to share a bad product and start optimising the sharing of a great one.