SDK For Data Streaming

React

3min

Install the sdk with npm

Windows


When the sdk has been installed it needs to be initialized with following code.

JS


The initialized sdk can be then used to track events

Sending events

After the tracker has been initialized you can start sending events. Data format in the event should be:

JS


Events can be sent either by sending the complete JSON object

TypeScript


or using the builder message builder

TypeScript




Updated 11 Dec 2023
Doc contributor
Did this page help you?