Skip to content

Frontend Integration

Frontend integration covers two npm packages plus framework-specific guides:

  • @usesophi/sophi-web-sdk — embed the Sophi assistant widget (SophiWidget) and handle widget events.
  • @usesophi/sophi-web-object — framework-agnostic e-commerce tracking via window.sophi_object and SophiTracker, with events delivered to Sophi over HTTPS.
  • Framework guides — patterns for React, Angular, and more.
  • SDK Overview

    Widget installation, initialization, events, methods, and security.

  • Web Object

    Data layer, event types, types reference, and integration patterns for storefront tracking.

  • Framework Integrations

    Framework-specific implementation guides.