Post view client event (#9408)
* Adds post:view client event tracking in feeds * Add post:view event on the post page itself * Don't send post:view to statsig for now * convert to non reactive callback to reduce rerenders --------- Co-authored-by: Samuel Newman <mozzius@protonmail.com>
This commit is contained in:
@@ -263,6 +263,13 @@ export type MetricEvents = {
|
||||
'post:unbookmark': {
|
||||
logContext: 'FeedItem' | 'PostThreadItem' | 'Post' | 'ImmersiveVideo'
|
||||
}
|
||||
'post:view': {
|
||||
uri: string
|
||||
authorDid: string
|
||||
logContext: 'FeedItem' | 'PostThreadItem' | 'Post' | 'ImmersiveVideo'
|
||||
feedDescriptor?: string
|
||||
position?: number
|
||||
}
|
||||
'bookmarks:view': {}
|
||||
'bookmarks:post-clicked': {}
|
||||
'profile:follow': {
|
||||
|
||||
Reference in New Issue
Block a user