Affiliate(Tolt)
Affiliate marketing is one of the key strategies for SaaS product growth. 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 process, 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 by user base, providing comprehensive affiliate program solutions for SaaS businesses, including core features such as commission tracking, real-time data analytics, and payment management.
Next, we'll introduce how to integrate Tolt.io's Affiliate functionality.
Good to know
If your source code version is lower than v1.1.10, please check the update steps.
Integration Steps
Registration URL: https://app.tolt.io/
After registration, go to the Settings - Integrations
page and click the Integration with stripe
button to view the Tolt integration steps for Stripe payments.

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
.

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

Testing Method
In the source code file app/[locale]/layout.tsx
, the Affiliate functionality is disabled in the 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 access your Affiliate link, register an account, and create a link.

Open the created link, and you should see the tolt_referral
parameter in the browser console cookies, which indicates it's working.