Skip to content

Homepage Requirements

There are only a few requirements that need to be met for your affiliate program's landing page.

  • You need to host a Terms of Service and Privacy Policy pages. Links to these pages should be set in Control Tower -> System Settings -> Policies.
  • Accept and save referral program query parameters

Referral Program Query Parameters

If the referral program is enabled for an affiliate, two links will be displayed in their personal account: a referral link to the homepage and a link to the registration form.

The links are generated using the following templates:

  • https://HOMEPAGE_DOMAIN/?ref=REFERRAL_ID
  • https://HOMEPAGE_DOMAIN/auth/register?ref=REFERRAL_ID

where HOMEPAGE_DOMAIN is the Front Domain from Control Tower -> System Domains, REFERRAL_ID is the affiliate’s identifier in the referral program.

You need to add handling for the ref query parameter for both paths of your affiliate program's landing page (/ and /auth/register): the value of the ref parameter must be saved in a cookie named referred_by. The cookie lifetime is at your discretion (usually 30 days) and the cookie domain should be built using the template .HOMEPAGE_DOMAIN (note the leading dot).

/auth/register path should redirect visitor to affiliate's registration page.

When a new partner registers, our frontend uses value of cookie named referred_by to link the new partner to the inviter.