React
3min
Install the sdk with npm
When the sdk has been installed it needs to be initialized with following code.
The initialized sdk can be then used to track events
After the tracker has been initialized you can start sending events. Data format in the event should be:
Events can be sent either by sending the complete JSON object
or using the builder message builder