Skip to main content
Every Tolt setup is the same three pieces. Add them in order and you’re live. For the same flow explained step by step, see Track with tolt.js.
1 tolt.js2 tolt.signup()3 Payments Tolt
1

Add the script to your site

Paste this in the <head> of every page, including your marketing site and your app. Your public key is in Dashboard → Settings → Integrations.
index.html
When someone lands on acme.com/?ref=sam, the script records the click and remembers Sam in a first-party cookie. Using a framework? See Install tolt.js.
2

Tell Tolt when someone signs up

Call tolt.signup() right after a visitor creates an account. It turns the click into a customer that belongs to Sam, for good. It waits for the click to be recorded, and ?. skips it if an ad blocker stopped the script. If your signup completes as the page loads, for example on an OAuth callback, check window.tolt first and wait for the toltScriptLoaded event if it isn’t there yet.
signup.js
Visitors who didn’t come through a partner link are ignored, so you can call it for everyone.
3

Record payments

Connect your billing provider in Dashboard → Settings → Integrations, then follow its guide to pass the referral at checkout. Payments, renewals and refunds flow in automatically.

Stripe

Paddle

Chargebee

4

Test the whole loop

Create a test partner in the dashboard, open their link in a private window, sign up, and pay. Within a few seconds you’ll see the customer and a commission under that partner.
Test partner Private window
Clickacme.com/?ref=test0s
Signupyour test email Lead1m
Payment2m
Commission Created2m
Working with an AI coding agent? Run npx skills add toltapp/skills and ask it to “Integrate Tolt into this app”. More on building with AI.