Create a Lead
To start rewarding partners for referring qualified leads your need to call the following method each time a new lead is submitted on your website:
kiflo('lead', {
// leadObject,
},
function(response) {
// handle success
},
function(error) {
// handle error
}
);
Example:
kiflo('lead', {
properties: {
firstName: 'John',
lastName: 'Doe',
email: 'john.doe@ola.inc',
... // your custom lead properties
},
status: 'Accepted' // optional
})
LeadObject:
| Name | Type | Description |
properties (required) |
object | The properties of the lead visible on your Kiflo account. A firstName and lastName is required. |
How does Kiflo track my partner referrals?
Kiflo JS reads browser cookies to track new leads brought in by your partners.