Menu

Affiliate (Tolt)

Affiliate marketing is one of the important growth strategies for SaaS products. After understanding the risks of cross-border commission distribution, Nexty.dev decided to choose a third-party Affiliate platform instead of building an in-house Affiliate system.

During this period, Nexty.dev researched multiple Affiliate platforms and ultimately chose Tolt.io as the default integrated Affiliate platform.

Tolt.io is one of the largest Affiliate platforms, providing complete affiliate program solutions for SaaS businesses, including commission tracking, real-time data analytics, payment management, and other core functionalities.

Next, we will introduce how to integrate Tolt.io's Affiliate functionality.

Good to know

If your source code version is below v1.1.10, please check the update steps.

Integration Steps

Registration URL: https://app.tolt.io/

After registration, on the Settings - Integrations page, click the Integration with stripe button to view the Tolt integration steps for Stripe payments.

integrations-stripe

After entering the Integration with stripe page, click the Connect button; then add the data-tolt-id to the environment variable NEXT_PUBLIC_TOLT_ID.

integrations-stripe

Tolt provides custom domain functionality. On the Program Setting - Custom Domains page, you can set up domain email and custom domain.

custom-domain

Testing Method

In the source code app/[locale]/layout.tsx file, the Affiliate functionality is disabled in development environment.

<head>
  {process.env.NODE_ENV === "development" ? (
    <></>
  ) : (
    <>
      <ToltScript />
    </>
  )}
</head>

If you need to test the Affiliate functionality, you need to temporarily remove the conditional check.

Then enter your Affiliate link, register an account, and create a link.

create-link

Open the created link, and you can see the tolt_referral parameter in the browser dashboard Cookie, which indicates it's working.