Skip to main content
Partnero runs two kinds of referral programs, and they track referrals differently:
  • In an affiliate program, partners promote you from the outside. They join through the partner portal, share a ?aff= link and earn commissions that you pay out.
  • In a refer-a-friend program, your own customers do the referring. Every customer is created in Partnero, gets a ?ref= link and earns rewards when a friend signs up or buys.
Both start with a referral link and end with someone getting paid. In between, PartneroJS, your sign-up flow and your billing tool record each step, and Partnero works out who earned what.

Affiliate and refer-a-friend side by side

The same ideas apply in both programs, with different people and different payouts. Daniel Hughes is the referrer in both examples.
PartneroJS handles both. The same po('customers', 'signup', …) call sends partner.key in an affiliate program and referring_customer.key in a refer-a-friend program, read from the cookie.

From click to payout

Promotion codes, lead submissions and postbacks are other ways to link a customer to a partner. After that, everything works the same.

Why the sign-up decides attribution

The cookie only has to last until the customer is created in Partnero. At that moment the customer is permanently linked to Daniel Hughes, and the cookie is no longer needed. Payments that arrive months later are matched by customer key, not by cookie, so they still count for Daniel. How much he earns on them, and for how long, comes from your commission or reward settings. If the visitor signs up after the attribution window has ended, there is no referral to link, and later payments don’t count for anyone.
Send the same customer key with every transaction. Partnero finds the referrer through the customer, so a transaction for an unknown key is rejected with “Customer not found” unless you pass options.create_customer.

Next steps

Affiliate programs

Set up partners, links and commissions

Refer-a-friend programs

Track referring customers and reward both sides

Track with JavaScript

Add PartneroJS and record sign-ups

Key concepts

Every term used across these docs