churnzerojs-es5

Typescript wrapper for ChurnZero JScript API - based off @revenuegrid/churnzerojs but slight mod to be ES5 compatible

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
churnzerojs-es5
001.0.2a year agoa year agoMinified + gzip package size for churnzerojs-es5 in KB

Readme

ChurnZeroJS
This is a wrapper for ChurnZero JS Api https://support.churnzero.net/hc/en-us/articles/360004683552-Integrate-ChurnZero-using-Javascript
Usage
```typescript import { Client } from '@revenuegrid/churnzerojs'; const client = await Client.connect({
url: 'analytics.churnzero.net/churnzero.js', // or eu1analytics.churnzero.net/churnzero.js
apiKey: '{your key}',
accountId: '{account id}',
contactId: '{contact id}'
}); client.trackEvent('some custom event'); ```