← View All Templates
Referral Program Templates

In-App Referral Program Template: Convert Users Where They Are

Embed referral prompts directly in your app for maximum participation. Copy this template with in-app modal copy, trigger strategies, and UX best practices.

An in-app referral program embeds referral prompts, sharing mechanisms, and reward tracking directly within your application or website. Instead of relying on external emails or social media to drive referrals, in-app programs meet users where they already are β€” inside your product. This approach consistently produces the highest referral participation rates because it eliminates the friction of leaving the product to share.

Why In-App Referrals Outperform External Channels

In-app referral prompts convert at 3-5x the rate of email-only referral requests. The reason is context: when a user is actively engaged with your product and experiencing value, a well-timed referral prompt catches them at their most enthusiastic. Contrast this with an email that arrives hours or days later when the user may have moved on to other tasks. In-app prompts also benefit from reduced friction β€” the sharing action is one or two clicks away, not a multi-step process.

Who This Template Is For

This template is essential for SaaS products, mobile apps, web applications, marketplaces, and any digital product with an active user base. It is especially effective for products with daily or weekly active usage, where users spend meaningful time inside the application. If your users log in regularly, in-app referrals should be a core component of your growth strategy.

What Is Included

This template provides in-app modal copy for various trigger points, embedded referral widget designs, notification bar messaging, product milestone triggers, full-page referral dashboard copy, and UX recommendations. It covers the complete in-app referral experience from the first prompt to ongoing engagement.

Template Content

Post-Milestone Referral Modal

Trigger: User completes a key milestone (first project, 10th login, first success metric)

Modal Headline: Congrats on [MILESTONE]! Share [COMPANY] with a friend?

Modal Body: You have just [MILESTONE_DESCRIPTION]. Your friends could benefit too. Refer them to [COMPANY] and earn [REFERRER_REWARD]. Your friend gets [FRIEND_REWARD] to start.

CTA: Copy My Referral Link

Secondary CTA: Share via Email | Share on Twitter | Share on LinkedIn

Dismiss: Not Now (show again after next milestone)

Persistent Referral Widget

Location: Sidebar, dashboard, or account settings page

Widget Header: Refer & Earn

Widget Body: Earn [REFERRER_REWARD] for every friend who joins [COMPANY]. Your friend gets [FRIEND_REWARD].

Stats Display:
Your referral link: [REFERRAL_LINK] [Copy Button]
Referrals: [COUNT] | Earned: [TOTAL_EARNED]

CTA: Share Now

Notification Bar Prompt

Location: Top of app, shown periodically

Copy: Love [COMPANY]? Refer a friend and earn [REFERRER_REWARD]. Learn more

Success State Modal

Trigger: User achieves a measurable success (e.g., "You saved $X this month" or "Your project reached Y users")

Modal Headline: You just [SUCCESS_METRIC]!

Modal Body: Imagine if your colleagues knew about [COMPANY]. Share your referral link and earn [REFERRER_REWARD] for each person who joins.

CTA: Share My Results & Referral Link

Full Referral Dashboard Page

Page Headline: Your Referral Dashboard

Subheadline: Track your referrals, share your link, and watch your rewards grow.

Dashboard Elements:

  • Referral Link: [REFERRAL_LINK] with copy button and QR code
  • Share Buttons: Email, Twitter, LinkedIn, Facebook, WhatsApp
  • Stats: Total referrals, pending referrals, rewards earned, rewards pending
  • Referral History: List of referred friends, their status, and reward amounts

How It Works Section:

  1. Share β€” Copy your link or use the share buttons to send it to friends.
  2. They join β€” Your friend signs up for [COMPANY] and gets [FRIEND_REWARD].
  3. You earn β€” [REFERRER_REWARD] is added to your account when they [QUALIFYING_ACTION].

Recommended Reward Structure

  • Referrer reward: Account credit, premium features, or extended subscription
  • Friend reward: Extended trial, premium features, or signup discount
  • In-app display: Show rewards and progress prominently in the app UI
  • Trigger points: Post-milestone, post-success, periodic prompts, and account settings

Terms and Conditions

1. Eligibility: All active [COMPANY] users may participate. 2. In-App Sharing: Users can share their referral link through in-app sharing tools or by copying their link. 3. Referrer Reward: [REFERRER_REWARD] per qualified referral. 4. Friend Reward: [FRIEND_REWARD] upon [QUALIFYING_ACTION]. 5. Prompt Frequency: In-app referral prompts can be dismissed. Users may opt out of referral prompts in their account settings. 6. No Self-Referrals: Self-referrals are prohibited. 7. Modifications: [COMPANY] may modify this program with 30 days notice.

Setup Guide

Step 1: Install GrowSurf's JavaScript SDK

Add GrowSurf's JavaScript SDK to your application. This lightweight script enables in-app referral tracking, widget rendering, and event-based triggers without impacting performance.

Step 2: Identify Trigger Moments

Map your user journey to identify the best moments for referral prompts. Common triggers include: completing onboarding, hitting a usage milestone, achieving a success metric, and visiting account settings. Configure these triggers in GrowSurf's Campaign Builder.

Step 3: Build In-App Modals and Widgets

Use GrowSurf's embeddable components to add referral modals, sidebar widgets, and dashboard pages. Customize the look and feel to match your product's design system for a seamless user experience.

Step 4: Configure Event-Based Triggers

Set up GrowSurf's event triggers to show referral prompts at the right moments. Fire events from your application code when users complete milestones, and GrowSurf will display the appropriate referral prompt.

Step 5: Add the Full Referral Dashboard

Create a dedicated referral page within your app using GrowSurf's embed code. This dashboard should show the user's referral link, sharing options, referral stats, and reward history.

Step 6: Respect User Preferences

Allow users to dismiss prompts and set frequency caps. GrowSurf lets you configure how often prompts appear and remembers user dismissals to prevent annoyance.

Step 7: Analyze and Optimize Triggers

Use GrowSurf's Analytics Dashboard to compare the performance of different trigger points. Identify which in-app moments generate the most shares and conversions, and optimize your prompt strategy accordingly.

Real-World Example

Real-World Example: Slack

Slack built viral growth primarily through in-app referral mechanics. When a team started using Slack, team members naturally invited colleagues to join the workspace. Slack made this invitation process seamless within the app, with prominent "Invite People" buttons and easy email invitation flows. While not a traditional incentive-based referral program, Slack's in-app sharing mechanics demonstrate the power of embedding referral functionality where users are already engaged.

Slack's approach grew the platform from zero to 8 million daily active users in just four years. The key was that the in-app invitation was integral to the product experience β€” you could not get full value from Slack without inviting your team.

Key takeaways:

  • In-app referral prompts convert at much higher rates than external channels
  • The best in-app referrals feel like a natural part of the product experience
  • Prominent, contextual placement outperforms hidden referral pages
  • Products with inherent collaboration needs have built-in referral catalysts

Customization Tips

1. Trigger at Peak Satisfaction Moments

Show referral prompts immediately after positive experiences: completing a project, hitting a milestone, receiving positive feedback within the app. Never prompt during frustrating moments like errors or failed operations.

2. Keep Modals Lightweight

In-app referral modals should have minimal text, one clear CTA, and a prominent dismiss option. Users should be able to copy their link in one click without reading paragraphs of text.

3. Use Persistent but Non-Intrusive Widgets

A sidebar widget or dashboard card that is always visible but never blocks the user is more effective than occasional pop-ups. Users notice it when they are ready to share and ignore it when they are focused on work.

4. Show Real-Time Referral Stats

Display the user's referral count, earned rewards, and pending referrals prominently in the app. Visible progress motivates continued sharing and creates a sense of achievement.

5. A/B Test Trigger Timing

Test different trigger moments to find the highest-converting prompt timing. Some products see peak results after the first session, while others perform best after the user has been active for a week or more.

Related Tools

referral-link-generator,referral-program-email-templates,referral-program-roi-calculator,referral-program-checklist,referral-program-idea-generator

FAQ

Where should I place in-app referral prompts?

The most effective placements are: modals triggered after user milestones or success moments, a persistent widget on the dashboard or sidebar, a dedicated referral page accessible from the main navigation, and subtle notification bars shown periodically. Test multiple placements and measure which generates the most shares.

How often should in-app referral prompts appear?

Show milestone-triggered prompts whenever they are earned (these feel celebratory, not annoying). For periodic prompts, once every 1-2 weeks is the maximum frequency. Always provide a dismiss option and respect user preferences. Over-prompting damages the user experience and creates negative associations with your referral program.

What is the best trigger for an in-app referral prompt?

The best trigger depends on your product, but universally high-performing triggers include: completing a significant task, achieving a measurable result, receiving a compliment or positive metric, and reaching a usage milestone. The common thread is that all of these trigger at moments of peak user satisfaction.

Set up your refer a friend program with customer referral and affiliate program software that lowers your acquisition costs, increases customer loyalty, and saves you gobs of time.

Trusted by marketing and product teams at fast-growing B2C, fintech, and SaaS companies