SDK Installation
React Native
Tracking Events
2min
tracking events once you integrate the sdk, cooeesdk will automatically start tracking some default system events docid\ facp3yvzawjmrp4ac5z9e apart from these, you must track mandatory events docid\ veiyktdil9dz4qflbhujb as well the event must be tracked once your screen(view) is fully loaded the following example demonstrates a view item event function sendviewitemevent() { const props = { item { 'id' '1234', 'name' 'wooden table', 'category' { 'id' '1234', 'name' 'furniture' } } }; cooeereactnative sendevent("view item", props) then(resp => console log("success ", resp tostring())) catch(err => console error("error ", err tostring())); } important! do not add (dot) in event property key string do not start the event name with ce