Skip to content

Conversation

BinaryFiddler
Copy link
Contributor

Add new starter pack related event metrics:

  • Existing 'starterPack:create' event in already place
  • Adding profile:addToStarterPack when click the the “Add to starter pack” item in the menu
  • Adding starterPack:addUser when the user adds another user while editing the pack during the pack’s creation flow
  • Adding starterPack:removeUser when the user removes another user while editing the pack during the pack’s creation flow

https://linear.app/blueskyweb/issue/APP-1425/metrics-event-add-to-starter-pack

Copy link
Member

@mozzius mozzius left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are fine but from what I understand from the linear ticket we need to be adding metrics to src/components/dialogs/StarterPackDialog.tsx too for the add/remove user part

Comment on lines 324 to 325
'starterPack:addUser': {}
'starterPack:removeUser': {}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All these other ones include the starterPark uri, I think add that here too for consistency. You can make it optional, in case the starter pack doesn't exist yet

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alex said these are events emitted during the creation flow of a new starter pack which means there will never be any starterpack uri. Do we want to emit this when adding/removing user to existing starter pack too?

starterPackUri?: string
}
'starterPack:removeUser': {
starterPackUri?: string
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit

Suggested change
starterPackUri?: string
starterPack?: string

'starterPack:addUser': {}
'starterPack:removeUser': {}
'starterPack:addUser': {
starterPackUri?: string
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit

Suggested change
starterPackUri?: string
starterPack?: string

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants