An event to capture when a user shares a catalog object.
ShareCatalogEvent is part of the Salesforce Marketing Cloud Unified SDK for Android and is used to track sharing interactions with catalog items within your application.
Description: Represents the catalog item associated with this event
Inherited from EngagementEvent
category
1open override var category: Event.Category
Description: The Event category Name. Category contains list of allowed values
priority
1open override val priority: Priority
Description: Defines the priority level for the event
Methods
Inherited from EngagementEvent
attributes()
1open override fun attributes(): Map<String, Any>
Returns:Map<String, Any> - The Event attributes for this event
Description: Returns a map containing string keys and any type values representing event attributes
name()
1open override fun name(): String
Returns:String - The name for the event
Description: The name for the event. This value must match the Event Name used when creating the event in the Marketing Cloud UI for proper tracking functionality
Related Types
CatalogObject
Represents various items that can be tracked such as products or blog posts.
type: String - A type name representing the catalog object
id: String - A unique id representing the catalog object
attributes: Map<String, Any> - (Optional) A map of user-supplied values. Defaults to empty map
relatedCatalogObjects: Map<String, List<String>> - (Optional) A map of related catalog objects. Defaults to empty map
Usage
ShareCatalogEvent is used to track when users share catalog objects in your application. As a subclass of CatalogEvent, it requires a CatalogObject that identifies what item was shared.
This event integrates with the Salesforce Marketing Cloud’s engagement tracking system and should be tracked using the EventManager component of the SDK.
Related Classes
Other catalog event types in the same package:
ViewCatalogEvent - Captures when a user views a catalog object
ViewCatalogDetailEvent - Captures when a user views catalog object details