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
SDK Installation
Angular 2+

Tracking Events

1min

Once you add the above snippet, the SDK will automatically start tracking some default System Events. Apart from these, you must track the Mandatory Events based on your industry.

JS
|
...

constructor(private readonly cooeeService: CooeeService) {

}

sendViewItemEvent(): void {
    this.cooeeService.trackEvent("View Item", {
        item: {
            id: "15234",
            name: "iPhone X",
            category: {
                id: "123",
                name: "Smartphones"
            }   
        }
    });
}




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?
PREVIOUS
Get Started
NEXT
Tracking Properties
Docs powered by
Archbee
TABLE OF CONTENTS
Important!
Docs powered by
Archbee