Get started
Quickstart for software
Track partner sign-ups and recurring subscription payments for a SaaS product in about 10 minutes, with the tracking script and Stripe Billing.
By the end of this guide a partner link will lead to a tracked sign-up, and each subscription payment will create a reward. Allow about 10 minutes.
1. Create a workspace and programme#
- Sign up at intrio.co/signup and choose SaaS and digital products. This switches on tracking links and recurring rewards, and seeds tiers from 20% to 30%.
- Open Programmes and create a Sign-ups programme. Set the destination to your sign-up page, for example
https://example.com/signup. - Note the programme's slug (shown on the programme, for example
app). You'll send it asprogramme. - Set Reward the first N payments if commission should stop after, say, 12 payments.
2. Add the tracking script#
Copy your publishable key from Tracking, add your domain to the allowed domains there, then put this in the <head> of every page:
<script src="https://intrio.co/sdk.js" data-key="pk_your_publishable_key" async></script>
<script>window.intrio=window.intrio||{q:[],track:function(){this.q.push(arguments)}}</script>If your marketing site and app are on different subdomains, add data-domain="example.com" so the cookie is shared. See cross-subdomain attribution.
3. Report sign-ups#
Pick one. Both credit the partner on the sign-up.
// After your sign-up form succeeds
intrio.track("lead", { customer: { id: user.id, email: user.email } });4. Report payments#
If you bill with Stripe, connect it under Integrations and tag the customer when you create them. Every paid invoice is then credited without more code:
await stripe.customers.create({
email: user.email,
metadata: { pp_programme: "app", pp_ref: ref ?? "", pp_click: clickId ?? "" },
});Not on Stripe? Report each payment yourself (Growth and above):
await intrio.trackSale({ id: invoice.id, programme: "app", customer: { id: user.id }, amount: 4900, currency: "GBP" });5. Test it#
- In Partners, invite yourself as a partner (use a different email) and copy the link from the partner portal.
- Open the link in a private window. You should land on your sign-up page with
?pp_ref=and?pp_click=in the address bar. - Sign up. Within seconds a referral appears under Referrals and the partner sees it in their portal.
- Pay with a Stripe test card. The referral moves to won and a reward appears under Rewards.
Nothing showing? Check troubleshooting.
Last updated 20 November 2026. Building with an AI assistant? Point it at /docs/llms-full.txt.