For AI agents: a Markdown version of this page is at https://docs.snowplow.io/docs/sources/node-js-tracker/previous-versions/node-js-tracker-v3/setup.md. The index of all documentation pages is at https://docs.snowplow.io/llms.txt, and the index for this section is at https://docs.snowplow.io/docs/api-reference/llms.txt.
Setup
caution
You are reading documentation for an outdated version. Here's the latest one!
Compatibility
The Snowplow Node.js Tracker is tested and compatible with Node.js versions from 10 to 20. Installation requires npm, pnpm or yarn.
Installation
Setting up the tracker should be straightforward if you are familiar with npm:
bash
npm install @snowplow/node-tracker
alternative you can use pnpm or yarn:
bash
pnpm add @snowplow/node-tracker
bash
yarn add @snowplow/node-tracker
The Snowplow Node.js Tracker is also bundled with TypeScript types and interfaces so will integrate easily with TypeScript applications.