Sharing & Referral Links

    Make it effortless for customers to share their referral code with built-in sharing tools and trackable links.

    Referral links with UTM tracking

    Every referral code automatically generates a shareable URL with UTM parameters for analytics tracking:

    https://yourrestaurant.com/menu?ref=SARAH7K2M&utm_source=referral&utm_medium=share&utm_campaign=referral

    When a friend clicks this link, the ref parameter is stored and automatically applied at checkout — no manual code entry needed.

    Native device sharing

    On devices that support the Web Share API (most mobile browsers), customers see a Share button that opens the native share sheet. This allows direct sharing to:

    • WhatsApp, iMessage, Telegram, and other messaging apps
    • Email clients
    • Social media apps (Facebook, Instagram DMs, Twitter)
    • AirDrop, Nearby Share, etc.

    The shared message includes a friendly text like: "Get [discount] off your first order at [Restaurant Name]! Use my referral code: [CODE] or order here: [link]"

    Screenshot: Mobile share sheet with referral message and link

    Copy-to-clipboard

    Two copy buttons are always available regardless of device:

    • Copy Code — Copies just the referral code (e.g. SARAH7K2M).
    • Copy Link — Copies the full referral URL with UTM parameters.

    Both buttons show a brief confirmation ("Copied!") after clicking.

    Auto-apply at checkout

    When a new customer arrives via a referral link, the system:

    1. Reads the ref URL parameter.
    2. Stores it for the session.
    3. When the customer reaches checkout and has entered their phone number, the code is automatically validated.
    4. If valid, the discount is applied without requiring manual input.
    Tip: Encourage customers to share the link rather than just the code — it directs friends straight to your menu and auto-applies the discount, reducing friction and increasing conversion.