Skip to content

cdp-analytics-node 0.1.0

Install from the command line:
Learn more about npm packages
$ npm install @customerio/cdp-analytics-node@0.1.0
Install via package.json:
"@customerio/cdp-analytics-node": "0.1.0"

About this version

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:

Details


Assets

  • cdp-analytics-node-0.1.0.tgz

Download activity

  • Total downloads 0
  • Last 30 days 0
  • Last week 0
  • Today 0