convertiq
v0.1.0
Published
Client for ConvertIQ Lead Scoring Service
Maintainers
Readme
convertiq-node
Node library for interacting with the ConvertIQ lead scoring service.
Setup
$ npm install convertiqvar Client = require('convertiq').Client;
var convertiq = new Client({key: 'your-client-key'});
// OR
var convertiq = require('convertiq')('your-client-key');Registering a new user
convertiq.register('[email protected]', function(err) {
if (err) {
console.log("Error Code: %d %s", err.code, err);
}
});Error Handling
The register function will return errors to the provided callback. Errors will be returned as a ConvertiqError object consisting of a code and a text description.
See the integration guide for more details.
