Track partner clicks, leads, and payments using the tolt.js script
First, add the tolt.js script to the head of your website/app:
The tolt.js script automatically tracks visitors that come through partner links:
window.tolt_data
:When a visitor signs up, convert them to a lead using the signup function:
After signup, store the customer_id
and partner_id
from window.tolt_data
in your database. You’ll need these to track future payments for this customer.
When the customer makes a payment, call the create a transaction API:
When a transaction is created, Tolt automatically:
This completes the tracking cycle from initial click through to paid commission.
Track partner clicks, leads, and payments using the tolt.js script
First, add the tolt.js script to the head of your website/app:
The tolt.js script automatically tracks visitors that come through partner links:
window.tolt_data
:When a visitor signs up, convert them to a lead using the signup function:
After signup, store the customer_id
and partner_id
from window.tolt_data
in your database. You’ll need these to track future payments for this customer.
When the customer makes a payment, call the create a transaction API:
When a transaction is created, Tolt automatically:
This completes the tracking cycle from initial click through to paid commission.