mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-07-06 22:12:12 +02:00
feat: add tracking for users viewed in search space
- Introduced a new event tracking function for when users view the team page in a search space. - Updated the team management page to utilize this tracking, capturing user and owner counts.
This commit is contained in:
parent
dfaa0cef21
commit
609fc879be
2 changed files with 22 additions and 2 deletions
|
|
@ -321,6 +321,18 @@ export function trackSearchSpaceUserAdded(
|
|||
});
|
||||
}
|
||||
|
||||
export function trackSearchSpaceUsersViewed(
|
||||
searchSpaceId: number,
|
||||
userCount: number,
|
||||
ownerCount: number
|
||||
) {
|
||||
posthog.capture("search_space_users_viewed", {
|
||||
search_space_id: searchSpaceId,
|
||||
user_count: userCount,
|
||||
owner_count: ownerCount,
|
||||
});
|
||||
}
|
||||
|
||||
// ============================================
|
||||
// CONNECTOR CONNECTION EVENTS
|
||||
// ============================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue