0.2.3 • Published 8 months ago

@customerio/cdp-analytics-node v0.2.3

Weekly downloads
-
License
-
Repository
-
Last release
8 months ago

Customer.io Data Pipelines analytics client for Node.js.

Installation

npm install @customerio/cdp-analytics-node

Usage

import { Analytics } from '@customerio/cdp-analytics-node'

// instantiation
const analytics = new Analytics({ writeKey: '<MY_WRITE_KEY>' });

analytics.identify({
  userId: '4'
});

Other Regions

If you're using a different data center such as our EU region, you can specify an alternate endpoint:

import { Analytics } from '@customerio/cdp-analytics-node'

// instantiation
const analytics = new Analytics({
  host: 'https://cdp-eu.customer.io',
  writeKey: '<MY_WRITE_KEY>'
});

analytics.identify({
  userId: '4'
});

Documentation

The links below contain more detailed documentation on how to use this library:

0.2.3

8 months ago

0.2.2

8 months ago

0.2.1

9 months ago

0.2.0

12 months ago

0.1.2

1 year ago

0.1.3

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago