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#

  1. 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%.
  2. Open Programmes and create a Sign-ups programme. Set the destination to your sign-up page, for example https://example.com/signup.
  3. Note the programme's slug (shown on the programme, for example app). You'll send it as programme.
  4. 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:

HTML
<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:

Node
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):

Node
await intrio.trackSale({ id: invoice.id, programme: "app", customer: { id: user.id }, amount: 4900, currency: "GBP" });

5. Test it#

  1. In Partners, invite yourself as a partner (use a different email) and copy the link from the partner portal.
  2. 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.
  3. Sign up. Within seconds a referral appears under Referrals and the partner sees it in their portal.
  4. 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.