Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contentsinclude
styleHeader
noneHeader

...

Important

This article relates to both journy.io's SDKs and Twilio Segment SDKs.

Topics

Table of Contents
minLevel1
maxLevel6
include
outlinefalse
indent
styledefault
excludeTopics
typelist
class
printabletrue

journy.io’s Node.js library lets you record data from your platform, from your Node.js code.

All of journy.io’s server-side libraries are built for high-performance, so you can use them in your web server controller code. This library uses an internal queue to make identify and track calls non-blocking and fast. It also batches messages and flushes asynchronously to journy.io’s servers.

Getting

...

started

Make sure you’re using a version of Node that’s 14 or higher.

...

Code Block
const analytics = new Analytics({ 
   writeKey: "<YOUR_WRITE_KEY>",
   host: "https://analyze.journy.io", 
   path: "/backend/v1/batch" 
})

analytics.on("error", (err) => console.error(err))
Include Page
Footer
Footer