SDK Installation
Cordova

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' } } }; cordova plugins cooee sendevent('view item', props); }function sendviewitemevent() { const props = { item { 'id' '1234', 'name' 'wooden table', 'category' { 'id' '1234', 'name' 'furniture' } } }; cordova plugins cooee sendevent('view item', props); } important! do not add (dot) in event property key string do not start the event name with ce