Javascript Server (Node.js )

To configure Segment's Node.js SDK with a custom API host:

const Analytics = require('analytics-node');

const analytics = new Analytics({
  writeKey: '<EVEFAN_SOURCE_WRITE_KEY>',
  host: '<EVEFAN_WORKER_HOST>'
});

Here's their get started guide.

Last updated