01 Attribution
How does a referred sale reach AffiliateRail?
A visitor lands on a partner link. The script records the click and keeps the referral in a first-party cookie on your domain. The default window is 60 days, and the first touch wins.
If you sell through Stripe Checkout, a Payment Link, a Pricing Table or a Buy Button, there is nothing to build. The script stamps the checkout for you. When Stripe reports the payment, the sale lands and your flow prices the commission.
<script async
src="https://app.affiliaterail.com/rail/v1/rail.js"
data-rail="prg_xxxx"></script>