A referral link can look ready to send before anything has been copied. The link is visible, the button has been pressed, and the user is already thinking about the message they want to write. If the interface gives no feedback, the quickest way to find out what happened is to open another app and try pasting. By then, the user may be looking at an old link or part of a message they copied earlier.
Good feedback answers a small question at the right moment: did the referral link make it onto the clipboard? It also leaves the next step clear. Copying a link does not send it, and opening a share menu does not mean anyone received it. The interface should confirm what actually happened without getting ahead of the user.
Say what happened, not what you hope happens next
Use Copy referral link for the action and Referral link copied for the confirmation. That pairing makes it clear what was copied, even when the page also contains a referral code or a suggested message. A check mark can reinforce the confirmation, but it should not be the only indication that anything changed.
If the product copies a message that includes the link, label the action Copy invite message and confirm that the message was copied. Someone expecting a bare URL may be surprised to paste a paragraph into a group chat. The easiest place to prevent that surprise is on the button, before they press it.
Keep copying and sharing distinct
A button labelled Share referral link can open the device’s share menu. A button labelled Copy referral link should copy the link directly. If both are available, show them as separate choices rather than making people open the share menu just to find a copy action.
When someone returns from the share menu, do not assume they sent a message. They might have dismissed it, chosen an app and changed their mind, or saved the link somewhere for later. Some platforms report that the share action was handed off, but that does not establish that a recipient received anything. If the product has no useful outcome to report, returning to the referral screen without a success banner is better than showing Invite sent.
Put the confirmation where the person is looking
The most useful place for Referral link copied is usually beside the copy button. The user has just looked at that control and can see the result without scanning the page. On a desktop screen, a notification in the opposite corner is easy to miss. On a phone, a bottom notification can cover the next action or disappear just as the user switches apps.
Changing the button label to Copied can work in a compact layout, provided the button stays in place and the label remains legible. An inline message is often better if people are likely to copy the link more than once: the action stays recognisable, and its result has a separate place to appear. In either design, reserve enough space for the feedback so it does not push nearby controls around.
Make the same result available without sight
Keep keyboard focus on the copy button and announce the outcome through a polite live region. The user should not have to tab away to discover whether the action worked. Avoid announcing the same confirmation through both a changing button label and a separate status message without checking how they behave together in a screen reader. The goal is one clear result, not two competing announcements.
Leave the message visible long enough to read at a comfortable pace. It can clear when another action replaces it, or when the referral panel closes. If it stays visible, treat it as a record of the last action rather than a guarantee about what is on the clipboard now. The next thing the user copies will replace the link, and the referral page may never know.
Give people a way to copy the link when the button fails
Wait for the clipboard write to succeed before showing a confirmation. A button press tells you that the user asked to copy something, not that the browser allowed it. Copying can fail in an embedded view or under browser restrictions, and the experience should not depend on the user knowing why.
A useful failure message is Couldn’t copy the link. Select it below to copy it manually. That instruction only works if the full link is present and selectable. A shortened preview with an ellipsis is fine for display, but it is not a manual fallback unless users can reveal and select the actual URL. As with address autocomplete error recovery, the fallback should let people finish the task without repeating the step that just failed.
If the link itself could not be generated, say so instead. Couldn’t load your referral link. Try again. points to a different problem and calls for a different recovery action. A copy button should not hand the user an empty value, a placeholder, or a generic homepage link just to make the interaction appear to succeed.
Test what gets pasted, not just what the screen says
Start with unrelated text on the clipboard. Copy the referral link and paste it into a plain text field. Check that the pasted value is the correct URL, includes the referral identifier, and contains no extra text unless the control promised a message. Visit the pasted URL in a signed-out browser to check what the recipient will see. The sender’s logged-in view can hide problems that a new visitor encounters immediately.
Then try the less tidy paths: press Copy twice, cancel the share menu, block clipboard access where possible, and move through the panel with a keyboard and a screen reader. On a narrow screen, check that the full link can still be selected after a failure and that the confirmation does not cover the controls. If the page can generate a new link, check that the old confirmation clears and that the next copy uses the new value.
Keep this distinction in analytics as well. A successful clipboard write is evidence that a link was copied. It is not evidence that an invitation was sent or that a referral was completed. That distinction helps the interface stay honest about its job: tell people what they copied, give them a way to recover if copying fails, and let them decide where the link goes next.
