MetricType
Upgather Analytics / MetricType
Enumeration: MetricType
Defines all available metric types for tracking events in the analytics system.
Remarks
This enum is the central definition of all supported metric types. New values will be added on minor releases without breaking changes.
Example
import { MetricType } from '@upgather/analytics';
const event = {
eventId: 'page-visit',
metricType: MetricType.pageview,
payload: { url: 'https://example.com' }
};
Enumeration Members
assistantClose
assistantClose:
"assistantClose"
Track when assistants are closed
assistantLinkClick
assistantLinkClick:
"assistantLinkClick"
Track when links within assistants are clicked
assistantMessageSent
assistantMessageSent:
"assistantMessageSent"
Track when messages are sent to assistants
assistantNewChat
assistantNewChat:
"assistantNewChat"
Track when new assistant chats are started
assistantOpen
assistantOpen:
"assistantOpen"
Track when assistants are opened
booth_visit
booth_visit:
"booth_visit"
Track sponsor booth visit events
communityEventRegistration
communityEventRegistration:
"communityEventRegistration"
Track community event registration events
generic
generic:
"generic"
Generic/fallback event type for unclassified events
interaction
interaction:
"interaction"
Track user interactions with UI elements
login
login:
"login"
Track user login events
pageview
pageview:
"pageview"
Track page views and navigation events
registration
registration:
"registration"
Track user registration events
video_view
video_view:
"video_view"
Track video view events