Reflio helps SaaS teams set up referral and rewards programs in minutes. This guide walks you through embedding the widget, connecting payments, and running your first campaign.
Add the Reflio widget to your app with a single line of code:
<script async src="https://cdn.reflio.app/widget.js"
data-project-id="YOUR_PROJECT_ID"
data-user-id="{{USER_ID}}"
data-email="{{USER_EMAIL}}">
</script>data-project-id: Your Reflio project ID (from dashboard → Settings → Embed).data-user-id: Your internal user identifier.data-email: (Optional) user email for attribution.The widget automatically generates a referral link and shows rewards progress.
In the dashboard, go to Campaigns → Create Campaign and configure:
Click Save & Activate. Your campaign is live.
Reflio currently supports Stripe (GA).
invoice.paid events to qualify referrals.Other payment providers (Paddle, Lemon Squeezy) are coming soon.
The Referrals tab shows all activity:
You can manually approve/deny flagged referrals.
Available from day one:
Advanced fraud detection will roll out as the product grows.
Questions? Email hello@pirax.app or DM us on X @PiraxAI.