Skip to main content
Version: 1.0

Analytics

MealzUIKit bridges analytics events from the WebView (window.mealz.analytics.eventSent$) to native via an analytics event listener.

SdkConfiguration.shared.setAnalyticsEventListener { event in
    // event.name  e.g. "recipe.display"
    // event.path  WebView path
    // event.props map of JSON values
}
Event catalog

The full list of event names and when they fire is documented in Web SSR:

  • Analytics (SSR)
  • Shared property reference: see the event properties section on that page

Mobile and SSR share the same event vocabulary because UIKit journeys are SSR-driven.