Node.js

Node.js

This library lets you record all analytics data from your node code. You can check out it’s open source code here. You can use this library in your web server controller code. It is high-performing in that it uses an internal queue to make identify and track calls non-blocking and fast. It also batches messages and flushes asynchronously to our servers.

Getting Started with Node.js

Step 1

Install the astronomer npm module.

npminstall--saveastronomer

Step 2

Initialize this package with the Source ID found in the settings section of your Astronomer account.