Overview
When a visitor comes through an affiliate link, you can convert their click into a lead by calling the signup function. Before signing up, you should check if:- The visitor came through an affiliate link (
window.tolt_dataexists) - The visitor hasn’t already been signed up (
customer_idis null)
Example Implementation
identifier parameter should be unique to each customer (like an email or user ID).
On success, the function returns:
window.tolt_data will be automatically updated with the new customer_id.
