mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Consistent naming convention for events
This commit is contained in:
parent
72a231c97e
commit
c80ce4da10
2 changed files with 5 additions and 5 deletions
|
|
@ -108,7 +108,7 @@ export const createLabelResolver = authorized<
|
|||
|
||||
analytics.track({
|
||||
userId: uid,
|
||||
event: 'createLabel',
|
||||
event: 'label_created',
|
||||
properties: {
|
||||
name,
|
||||
color,
|
||||
|
|
@ -178,7 +178,7 @@ export const deleteLabelResolver = authorized<
|
|||
|
||||
analytics.track({
|
||||
userId: uid,
|
||||
event: 'deleteLabel',
|
||||
event: 'label_deleted',
|
||||
properties: {
|
||||
labelId,
|
||||
env: env.server.apiEnv,
|
||||
|
|
@ -243,7 +243,7 @@ export const setLabelsResolver = authorized<
|
|||
|
||||
analytics.track({
|
||||
userId: uid,
|
||||
event: 'setLabels',
|
||||
event: 'labels_set',
|
||||
properties: {
|
||||
pageId,
|
||||
labelIds,
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ export function pdfAttachmentsRouter() {
|
|||
|
||||
analytics.track({
|
||||
userId: user.id,
|
||||
event: 'pdf-attachment-upload',
|
||||
event: 'pdf_attachment_upload',
|
||||
properties: {
|
||||
env: env.server.apiEnv,
|
||||
},
|
||||
|
|
@ -107,7 +107,7 @@ export function pdfAttachmentsRouter() {
|
|||
|
||||
analytics.track({
|
||||
userId: user.id,
|
||||
event: 'pdf-attachment-create-article',
|
||||
event: 'pdf_attachment_create_article',
|
||||
properties: {
|
||||
env: env.server.apiEnv,
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue