Skip to main content

Chat Analytics Events

The SDK has in built analytics events that are trigged for the below listed events. You can track those using tools like Segment, Mixpanel, Clevertap etc. You can find the classes to extend to leverage the events in the following tech stack:

  • Android
  • iOS

We are working on implementing analytics for Flutter, React Native and ReactJS

note

The event name would be prefixed as LM_EventName

Event CategoryEvent NameDescriptionEvent Properties
Chatroom AnalyticsChatroom leftWhen any member/participant leaves the secret chatroomchatroom_name - name of the chatroom
chatroom_id - id of the chatroom
chatroom_type
- normal
- poll
- event
chatroom_category
secret
Chatroom AnalyticsChatroom mutedWhen a user mutes any chatroomchatroom_name - name of the chatroom
Chatroom AnalyticsChatroom unmutedWhen a user unmutes any chatroomchatroom_name - name of the chatroom
Chatroom AnalyticsChatroom followedWhen the user follows any chatroomchatroom_id
community_id
chatroom_type - normal, poll, event
source
tagged_auto_followed
chatroom_overflow_menu
chatroom_telescope
community_feed
Chatroom AnalyticsChatroom unfollowedWhen a user un-follows any chatroomchatroom_id
source
tagged_auto_followed
chatroom_overflow_menu
community_feed
Chatroom AnalyticsChatroom respondedWhen the user responds to any chatroomcommunity_id - id of community
chatroom_name - name of the chatroom
chatroom_type - as mentioned above
chatroom_last_conversation_type
text
link
image
video
doc
image, doc
audio
count_tagged_users
name_tagged_users
Chatroom AnalyticsChatroom openedWhen chatroom is opened from chatroom/home feedchatroom_id
chatroom_type - normal, intro, poll, event, public_event, announcement
source - home_feed, notification, community_feed, deep_link, internal_link
source_chatroom_id (only in case of internal link sharing)
source_community_id (only in case of internal link sharing)
Chat Room AnalyticsUser tags someoneWhen user tags another usercommunity_id - id of community
chatroom_name - name of the chatroom
tagged_user_id - id of user tagged
tagged_user_name - name of user tagged
Chatroom AnalyticsView Chatroom participantsWhen the user tries to see participants of any chatroomchatroom_id
community_id
source
chatroom_overflow_menu
Chatroom AnalyticsVoice message recordedWhen the user records a voice messagechatroom_id
chatroom_type
Chatroom AnalyticsVoice message previewedWhen the user previews a voice messagechatroom_id
chatroom_type
Chatroom AnalyticsVoice message cancelledWhen the user removes a recorded voice messagechatroom_id
chatroom_type
Chatroom AnalyticsVoice message sentWhen the user sends a voice messagechatroom_id
chatroom_type
Chatroom AnalyticsVoice message playedWhen the user plays a voice messagechatroom_id
chatroom_type
message_id
Message ActionsMessage deletedWhen a user deletes the messages sent earliertype
text
image
pdf
audio
video
count
chatroom_id
Message ActionsMessage copiedWhen a user copies the messagestype
text
image
pdf
audio
video
count
chatroom_id
Message ActionsMessage replyWhen a user replies to any particular messagetype
text
image
pdf
audio
video
count
chatroom_id
replied_to_member_id
replied_to_member_state
replied_to_message_id
Message ActionsMessage reportedWhen the user reports any messagetype
text
image
pdf
audio
video
count
chatroom_id
reason_y
Message ActionsMessages editedWhen a user edits the messages sent earliertype
text
image
pdf
audio
video
count
chatroom_id
description Updated attributes
- true
-false
Message ReactionsEmoticon Tray OpenedWhen we want to react with an emoticon on any messagefrom:
"double tap"
"long press"
"reaction button"
message_id
chatroom_id
Message ReactionsReaction AddedWhen we react with an emoticon on any messagereaction (value: <emoticon>)
from (value: <"double tap" / "long press" / "reaction button">)
message_id
chatroom_id
Message ReactionsReaction List OpenedWhen someone wants to see the list of all reactions to a messagemessage_id
chatroom_id
Message ReactionsReaction RemovedWhen a user removes the reactions on any messagemessage_id
value: <chatroom_id>
chatroom_id