Salla Docs
Merchant API
  • Merchant API
  • Salla OAuth 2.0
Partner APIs
  • App API
  • Shipments & Fulfillment APIs
  • Salla AWB
  • Recurring Payments API
  • App Functions
Storefront
  • Twilight Engine
  • Twilight SDK
  • Web Components
  • Ecommerce Events
  • Change Log
Salla CLI
Merchant API
  • Merchant API
  • Salla OAuth 2.0
Partner APIs
  • App API
  • Shipments & Fulfillment APIs
  • Salla AWB
  • Recurring Payments API
  • App Functions
Storefront
  • Twilight Engine
  • Twilight SDK
  • Web Components
  • Ecommerce Events
  • Change Log
Salla CLI
Salla - Opensource
Salla - Developers Community
  1. Ecommerce Events
  • Overview
  • Getting Started
  • Usage - Device Mode
  • Usage - Cloud Mode
  • Events
    • Account Events
    • Cart & Checkout Events
    • Product Events
    • Promotion & Coupon Events
    • Wishlist Events
  1. Ecommerce Events

Overview

E-commerce Events: Overview and Integration Guide#

E-commerce events provide a powerful way to track and understand customer interactions throughout their shopping journey, from browsing products to completing a purchase. By leveraging these events, developers can build robust applications that react to user behavior, personalize experiences, optimize marketing efforts, and streamline backend processes. This guide outlines the available integration modes and the lifecycle of these events.
Our E-commerce event system currently supports two primary integration modes:
Device Mode
Cloud Mode through App Functions

Integration Modes#

Device Mode#

In this integration mode, events are dispatched directly from the customer's device (e.g., mobile app or web browser) to your designated callback function. This approach typically utilizes a tracker.js script embedded within the store's frontend, enabling real-time client-side event capture and processing. For detailed integration steps, refer to the Usage - Device Mode.

Cloud Mode - App Functions#

In Cloud Mode, events are securely transmitted from our servers directly to your configured App Functions. This server-to-server integration eliminates the need for client-side snippets, making it ideal for backend services such as order management, fulfillment, and complex data processing. For comprehensive setup instructions, consult the Usage - Cloud Mode.

Events Lifecycle#

Device Mode#


Cloud Mode#

Modified at 2025-11-27 13:04:50
Next
Getting Started