budibase/packages/builder/src/analytics/constants.js

50 lines
944 B
JavaScript
Raw Normal View History

2021-09-21 12:47:14 +02:00
export const Events = {
BUILDER: {
STARTED: "Builder Started"
},
COMPONENT: {
CREATED: "Added Component"
},
DATASOURCE: {
CREATED: "Datasource Created",
UPDATED: "Datasource Updated",
},
TABLE: {
CREATED: "Table Created",
},
VIEW: {
CREATED: "View Created",
ADDED_FILTER: "Added View Filter",
ADDED_CALCULATE: "Added View Calculate"
},
SCREEN: {
CREATED: "Screen Created"
},
AUTOMATION: {
CREATED: "Added Component",
SAVED: "Automation Saved",
BLOCK_ADDED: "Added Automation Block",
},
NPS: {
SUBMITTED: "budibase:feedback_submitted"
},
APP: {
CREATED: "budibase:app_created",
PUBLISHED: "budibase:app_published",
UNPUBLISHED: "budibase:app_unpublished"
},
ANALYTICS: {
OPT_IN: "budibase:analytics_opt_in",
OPT_OUT: "budibase:analytics_opt_out"
},
USER: {
INVITE: "budibase:portal_user_invite"
},
SMTP: {
SAVED: "budibase:smtp_saved"
},
SSO: {
SAVED: "budibase:sso_saved"
}
}