Add opt-in analytics to onboarding tasks (#8409)
* Add interaction tracking to explore room, send DM and create room events in onboarding view and elsewhere * Update matrix analytics events dependency
This commit is contained in:
parent
c7c0fdbcc5
commit
9b0ab3321c
6 changed files with 22 additions and 8 deletions
|
@ -297,6 +297,7 @@ const RoomListHeader = ({ onVisibilityChange }: IProps) => {
|
|||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
defaultDispatcher.dispatch({ action: "view_create_chat" });
|
||||
PosthogTrackers.trackInteraction("WebRoomListHeaderPlusMenuCreateChatItem", e);
|
||||
closePlusMenu();
|
||||
}}
|
||||
/>
|
||||
|
@ -335,6 +336,7 @@ const RoomListHeader = ({ onVisibilityChange }: IProps) => {
|
|||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
defaultDispatcher.dispatch({ action: Action.ViewRoomDirectory });
|
||||
PosthogTrackers.trackInteraction("WebRoomListHeaderPlusMenuExploreRoomsItem", e);
|
||||
closePlusMenu();
|
||||
}}
|
||||
/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue