Server-side event tracking
NodeJS
This package allows you to track server-side customer events.
The secret api token can be found within your project settings -> API.
The userId should match the userId you are using to identify your users.
The event data (last param) is optional.
The userId should match the userId you are using to identify your users.
All key-value pairs in the user properties part are optional.