website logo
HomeGo to Dashboard
User Guide
How-To Videos
Developers
Navigate through spaces
⌘K
Getting Started
Introduction
Compatibility
Terminology
SDK Installation
Shopify
Any Website
Dukaan
Angular 2+
WooCommerce
WordPress
Android Native
iOS Native
Flutter
Cordova
Ionic
React Native
Data Integration
Data Models
Mandatory Events
Mandatory Properties
Call to Action
System Events
Device Properties
Docs powered by archbee 

Tracking Events

3min

Track custom Events

Once you integrate the SDK, Cooee will automatically start tracking events. You can view the collected events in System Events. Apart from these, you must track some additional Mandatory Events.

The event must be tracked once your screen(View) is fully loaded.

The following example demonstrates a View Item event.

Dart
|
void sendViewItemEvent() {
    var props = {
        item: {
            "id": "FOO-B076H19JPJ",
            "name": "Adidas Men's Agora 1.0 Multisport Shoe",
            "category": {
                "id": "15234",
                "name": "Shoes"
            }
        }
    };

    CooeePlugin.sendEvent("View Item", props)
}




Important!

  • Do not add . (dot) in event property key string.
  • Do not start the event name with CE



Updated 03 Mar 2023
Did this page help you?
Yes
No
PREVIOUS
Get Started
NEXT
Tracking Properties
Docs powered by archbee 
TABLE OF CONTENTS
Track custom Events
Important!