Skip to content

ContentEventCreator

Arjun Komath edited this page Sep 26, 2017 · 1 revision

EngageEvent creator for Media Content events

Method Summary

Method Description
onContentAddedToFavourites Creates EngageEvent representing content added favourites
onContentFavouriteRemoved Creates EngageEvent representing content removed from favourites
onContentFavouritesCleared Creates EngageEvent representing all content favourites cleared
onContentShare Creates EngageEvent representing content share
onContentView Creates EngageEvent representing content view
putSource Set the source of the content
putTitle Set the title of the content
putType Set the type of the content

Example

onContentView

ENGAGE
    .onContentView(CONTENT_ID)
    .putTitle(OPTIONAL_TITLE_OF_THE_CONTENT)
    .putType(OPTIONAL_TYPE_OF_THE_CONTENT)
    .track();
Clone this wiki locally