Skip to main content
Turn your customers into brand advocates with Partnero’s no-code refer-a-friend forms. Add embeddable referral widgets or automated pop-ups to your website—no developers required.

What Are Refer-a-Friend Forms?

Refer-a-friend forms are pre-built widgets that let your customers refer friends directly from your website. Available as:
  • Embeddable forms—Place anywhere on your site (sidebar, footer, dedicated page)
  • Pop-up forms—Automatically appear based on visitor behavior (time on page, scroll depth, exit intent)
Both options work without writing code and can be fully customized to match your brand.
Before proceeding, you should have a refer-a-friend program created on Partnero. If you haven’t created one yet, refer to the Knowledge Base for guidance.

How Customer Referrals Work

  1. A visitor enters their email to refer friends and earn a reward
  2. They enter their friend’s information (name and email)
  3. A thank-you page is displayed
  4. The referred friend receives an invitation email
  5. When the friend signs up, both parties can receive rewards

Step 1: Install PartneroJS

Install the PartneroJS snippet to enable the forms on your website.
1

Get your snippet

  1. Log in to Partnero
  2. Go to Programs and select your refer-a-friend program
  3. Navigate to Integration in the sidebar
  4. Copy the PartneroJS snippet
2

Install the snippet

Paste the snippet into your website’s HTML just before the closing </head> tag:
<!-- PartneroJS -->
<script>
    (function(p,t,n,e,r,o){ p['__partnerObject']=r;function f(){
    var c={ a:arguments,q:[]};var r=this.push(c);return "number"!=typeof r?r:f.bind(c.q);}
    f.q=f.q||[];p[r]=p[r]||f.bind(f.q);p[r].q=p[r].q||f.q;o=t.createElement(n);
    var _=t.getElementsByTagName(n)[0];o.async=1;o.src=e+'?v'+(~~(new Date().getTime()/1e6));
    _.parentNode.insertBefore(o,_);})(window, document, 'script', 'https://app.partnero.com/js/universal.js', 'po');
    po('settings', 'assets_host', 'https://assets.partnero.com');
    po('program', 'PUBLIC_PROGRAM_ID', 'load');
</script>
<!-- End PartneroJS -->

Step 2: Choose Your Form Type

You can use an embeddable form, a pop-up, or both. Configure them in your Partnero dashboard under Referral portal → Forms.

Embeddable Form

Display a refer-a-friend form anywhere on your website by adding a simple HTML element.To enable:
  1. Go to Referral portal → Forms in your program settings
  2. Enable the Embeddable form toggle
  3. Copy the provided snippet
Add to your website:Place this HTML element wherever you want the form to appear (sidebar, footer, dedicated page, etc.):
<div id="po-refer-a-friend-embeddable-signup-PUBLIC_PROGRAM_ID"></div>
Replace PUBLIC_PROGRAM_ID with your actual program ID from the Partnero dashboard.
The form will automatically render inside this div when the page loads.

Configure Rewards

Set up instant rewards for both the referrer and their friend. Go to Referral portal → Forms and find the Reward delivery section:
Rewards are delivered based on your program’s default reward configuration. This is the recommended option for most use cases.
Send rewards immediately when the form is completed:For the referring customer:
  • No reward
  • Generic coupon (existing coupon code)
  • Dynamic coupon (auto-generated unique codes)
For the referred friend:
  • No reward
  • Generic coupon
  • Dynamic coupon
With instant delivery, the referred friend receives an invitation and gets their reward immediately after signing up. The referrer receives their reward right after the friend signs up.

Customize Appearance

Customize how your form looks to match your brand in the Design & appearance section:
SettingOptions
BrandingNone, Logo, or Symbol
Background colorWhite, gray shades, or custom hex
Gradient colorBlack, gray, blue, teal, none, or custom
Layout cornersSquare, rounded, or fully rounded
Layout styleBorder, shadow, or none
Text colorGray shades or custom hex
Button colorIndigo, blue, cyan, teal, black, or custom
Input styleDefault, shadow, or transparent

Customize Content

Edit the copy for each step in the Content section:

Step 1: Customer

  • Title—Main heading (e.g., “Refer a Friend”)
  • Subtitle—Optional secondary heading
  • Description—Explain the benefits of referring
  • Custom fields—Add additional form fields
  • Button text—CTA button label
  • Marketing consent—Optional opt-in checkbox
  • Terms of service—Link to your terms

Step 2: Friend

  • Title—Heading for friend invitation step
  • Description—Explain what happens next
  • Button text—Submit button label

Thank You Page

  • Title—Confirmation heading
  • Description—Thank the referrer
  • Reward text—Explain what reward they’ll receive

Email Templates

Customize the emails sent during the referral process in the Emails section:
EmailWhen Sent
Referring customer reward notificationWhen the referrer receives their reward
Referred customer reward notificationWhen the friend receives their reward
Friend invitationWhen someone shares a referral via the form

Frequently Asked Questions

No. Partnero’s refer-a-friend forms are completely no-code. You only need to paste a small JavaScript snippet once, then configure everything through the dashboard. For embeddable forms, you add one HTML element where you want the form to appear.
Yes. Many businesses use embeddable forms on dedicated referral pages while also showing pop-ups to visitors who haven’t engaged with the referral program yet.
You can offer instant coupon codes (generic or dynamically generated), discounts, store credits, or follow your program’s default reward settings. Both the referrer and the referred friend can receive different rewards.
The forms automatically validate email addresses and prevent duplicate submissions. You can also add terms of service checkboxes and marketing consent fields.
Yes. You can customize colors, fonts, corner styles, branding (logo/symbol), button styles, and all text content. The forms are designed to blend seamlessly with any website design.

Next Steps