SDK Installation
Ionic
Tracking Events
2min
tracking events once you integrate the wrapper, 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 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' } } }; cooee sendevent('view item', props) then(response => console log('view item', response)) catch(error => console error('view item', error)); } important! do not add (dot) in event property key string do not start the event name with ce