First-party 2 KB attribution script, verified Stripe webhooks, exact integer-cent commission math, automatic refund clawbacks, and a live partner ledger
<!-- 1. Drop into <head> -->
<script
src="/shair.js"
data-program="pulseflow"
async
></script>
// 2. Pass referral to Stripe Checkout
const params = window.Shair.getCheckoutParams();Interactive pipeline preview
The 2.1 KB first-party script validates the referral handle against strict alphanumeric rules to prevent cookie injection, then records the click.
GET https://yourapp.com/?via=sarah
-> <script src="https://shair.yourapp.com/shair.js" data-program="pulseflow">
-> POST /api/track/click { code: "sarah", visitorId: "vis_8k39a2" }
<- 201 Created { attributed: true, cookieWindowDays: 60 }Live savings calculator
Rewardful, Tolt, and FirstPromoter move you from $49/mo to $199/mo as affiliate MRR grows. Shair costs $0 self-hosted or a flat $29/mo on Cloud Pro at any volume.
| Platform | Monthly | Annual | Self-hostable |
|---|---|---|---|
| Shair Community | $0 | $0 | Yes (Docker) |
| Shair Cloud Pro | $29 | $348 | Managed / EE |
| Rewardful | $149 | $1,788 | No |
| Tolt | $99 | $1,188 | No |
| FirstPromoter | $149 | $1,788 | No |
BigInt half-up rounding in cents with proportional refund clawbacks and zero floating-point drift.
Constant-time stripe-signature verification, 5-minute timestamp tolerance, and atomic event deduplication.
Blocks +alias self-referrals, flags same-company corporate domains, and catches IP click velocity spikes.
Settle affiliate payout batches atomically and export formula-safe CSVs for Wise, PayPal, and Stripe Connect.
Open-core pricing
Deploy with SQLite or PostgreSQL via Docker Compose in under a minute.
Managed PostgreSQL hosting plus commercial ee/ modules for scaling SaaS teams.