0.1.0 • Published 9 years ago
convertiq v0.1.0
convertiq-node
Node library for interacting with the ConvertIQ lead scoring service.
Setup
$ npm install convertiq
var 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('user@example.com', 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.