Skip to content
Docs
Introduction

Introduction

Everything you need to know about setting up and running your referral program with ViralRef.

ViralRef is a referral platform built for Square merchants. It turns your existing customers into a growth engine by giving them unique referral links, rewarding them with Square gift cards, and automatically tracking every new customer they bring in.

This documentation covers everything from initial setup to advanced features like challenges and fraud protection.

What Can ViralRef Do for Your Business?

  • Create referral programs where you choose how much referrers earn (a percentage or a flat amount)
  • Reward your referrers automatically with Square gift cards or track payouts manually
  • Track new customers in real time as referred customers make purchases at your business
  • Turn every new customer into a referrer with the viral loop -- they get a gift card and their own referral link automatically
  • Organize referrers into groups and tiers with custom reward rates for your top performers
  • Run challenges and contests to motivate referrers during specific time periods
  • Catch cheating automatically -- ViralRef detects self-referrals, duplicate charges, and suspicious activity
  • Give referrers a phone-verified /ref screen where they claim rewards, share their link, and save a wallet pass

How It Works

  1. Sign up with Square -- OAuth creates your account, organization, and Square connection
  2. Create a DRAFT program from a template (free) and activate it when you're ready to go live
  3. Add referrers (your staff, customers, influencers) or rely on the viral loop so new customers become referrers automatically
  4. Share referral links -- friends land on /ref/{code}, verify with phone OTP, and claim rewards
  5. Purchases are tracked automatically -- when a referred customer pays at your business, ViralRef sees it instantly
  6. Rewards are issued as gift card balance top-ups, coupons, loyalty points, or tracked manual payouts

Getting Started

If you're new to ViralRef, start here:

Getting Started

Set up your account and launch your first referral program in minutes.

Connecting Square

Link your Square account to enable payment tracking and gift card rewards.

Creating a Program

Set up your reward rules, choose your commission type, and configure your program.

Documentation Overview

Setup

GuideDescription
Getting StartedAccount setup and first program
Connecting SquareLinking your Square account
Creating a ProgramReward types, commission rules, and scopes

Core Features

GuideDescription
Dashboard OverviewHome dashboard, KPIs, setup checklist, and performance metrics
Managing AffiliatesAdd referrers, create groups, set tiers
Tracking ConversionsHow referred purchases are tracked
PayoutsGift card rewards and payout management
Viral LoopAutomatic referrer enrollment for every new customer
My ReferralsPersonal referral dashboard for team members

Advanced

GuideDescription
Affiliate ScreenSelf-service /ref experience for your referrers
Reward TypesGift cards, coupons, loyalty points, and manual payouts
Reports & AnalyticsMulti-tab analytics for quality, performance, revenue, and retention
CampaignsSend targeted email campaigns to your affiliates
Bounties & ChallengesRun time-bound incentive campaigns
Fraud DetectionAutomatic fraud protection and review
QR Codes & SharingQR codes, Apple & Google Wallet passes, printable cards, and in-store promotion

Configuration

GuideDescription
Settings GuideAccount preferences, organization settings, members, billing, and custom domains
Custom DomainsUse your own domain for /ref, referral links, and join pages
Embeddable WidgetAdd a referral-code field to your website
API Keys & WebhooksProgrammatic access and real-time event notifications