An event to capture when a user comments on a catalog object. This event extends CatalogEvent and is used for tracking user engagement when they add comments to catalog items such as products, blog posts, or other trackable objects.
A property that holds the catalog object associated with this event.
From EngagementEvent
category
1open override var category: Event.Category
The Event category Name. Category contains list of allowed values.
priority
1open override val priority: Priority
Defines the priority level for the event.
Inherited Methods
From EngagementEvent
attributes()
1open override fun attributes(): Map<String, Any>
Returns a map of event attributes for this event.
Returns:Map<String, Any> - The Event attributes for this event.
name()
1open override fun name(): String
Returns the name for the event. This value must match the Event Name used when creating the event in the Marketing Cloud UI to trigger associated actions.
Returns:String - The event name.
Related Types
CatalogObject
The catalogObject property uses the CatalogObject class, which represents various items that can be tracked.
FavoriteCatalogEvent - Captures when users mark catalog objects as favorites
Usage Notes
As a sealed class hierarchy member, CommentCatalogEvent is part of a controlled type system for engagement events. The class inherits its core functionality from CatalogEvent and EngagementEvent, providing a standardized way to track user comment interactions with catalog objects in the Salesforce Marketing Cloud ecosystem.
The event name returned by name() must match the Event Name configured in the Marketing Cloud UI to properly trigger associated actions and workflows.