Skip to main content

Interface: EmbedAnalyticsContext

Customer identity resolved by one <mmq-embed> from its embed short code. Returned by getAnalyticsContext() and emitted by mimeeq-analytics-context-changed. This identifies the customer; it does not indicate that analytics is enabled or the UI is ready.

Properties​

customerId​

customerId: string | null

Null while unresolved, after a short-code change, or when the element is disconnected.


embedInstanceId​

embedInstanceId: string

Stable ID of the web component instance.


shortCode​

shortCode: string | null

Embed configuration short code, not a saved configuration or scene code.