Skip to main content
When a referred visitor creates an account, tell Tolt once. Tolt links the click cookie to a new customer and binds that customer to the partner.
tolt.jstolt.signup(email) Tolt
Created in Tolt
customercus_3VbH…
email
partner
statuslead
Returned to your app
result
customer_idcus_3VbH…
partner_idpart_8fKq…
click_id8537db0b…
program_idprg_YxLm…

Bind once, every renewal pays. Jane’s later payments keep crediting Sam.

Call tolt.signup() right after your own signup succeeds. Pass the user’s email (or your user id). It resolves with Tolt’s customer id, cus_.... 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.
tolt.signup() never throws. Visitors without a referral, or a repeat signup, resolve without a customer_id, so always check result?.customer_id.With @tolt/tracking, for example in React, wait for init() first:

What gets created

idTolt’s customer id (cus_…). Use it as customer_id on transactions.partner_idSam. Fixed from now on.statuslead until the first payment, then active.customer_idYour own id, only when you set it via the API.