Comments

lsc:comments:audience:join

Visitor joins the chat during a live stream.

Schema

export interface CommentsAudienceJoinEvent extends Omit<
  AnalyticsEvent,
  'eventType'
> {
  eventType: 'lsc:comments:audience:join';

  // Event-specific fields
  
  /**
   * The visitor's avatar image URL, if provided by the 
   * host application or environment.
   */
  visitorAvatarUrl?: string;
  /**
   * The visitor's display name, either as chosen by the visitor
   * or provided by the host application or environment.
   */
  visitorName: string;
}

Alias Mapping Table

Alias (contextData key)
Meaning / Use Case
Suggested Adobe Target (placeholder)
Friendly Label Example

lsc.visitorAvatarUrl

Visitor avatar

prop{VISITOR_AVATAR}

Visitor Avatar

lsc.visitorName

Visitor name

prop{VISITOR_NAME}

Visitor Name

lsc:comments:audience:comment

Visitor adds a comment during a live stream.

Schema

interface CommentsAudienceCommentEvent extends Omit<
  AnalyticsEvent,
  'eventType'
> {
  eventType: 'lsc:comments:audience:comment';

  // Event-specific fields
  
  /**
   * Universally unique comment identifier, in UUID v4 format.
   */
  commentId: string;
  /**
   * The comment message.
   */
  commentMessage: string;
  /**
   * The visitor's avatar image URL, if provided by the 
   * host application or environment.
   */
  visitorAvatarUrl?: string;
  /**
   * The visitor's display name, either as chosen by the visitor
   * or provided by the host application or environment.
   */
  visitorName: string;
}

Alias Mapping Table

Alias (contextData key)
Meaning / Use Case
Suggested Adobe Target (placeholder)
Friendly Label Example

lsc.commentId

Comment-scoped identifier

prop{COMMENT_ID}

Comment ID

lsc.commentMessage

Comment message

prop{COMMENT_MESSAGE}

Comment Message

lsc.visitorAvatarUrl

Visitor avatar

prop{VISITOR_AVATAR}

Visitor Avatar

lsc.visitorName

Visitor name

prop{VISITOR_NAME}

Visitor Name

Last updated