track_events.go 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. package analytics
  2. type SegmentEvent string
  3. const (
  4. // onboarding flow
  5. UserCreate SegmentEvent = "New User"
  6. UserVerifyEmail SegmentEvent = "User Verified Email"
  7. ProjectCreate SegmentEvent = "New Project Event"
  8. CostConsentOpened SegmentEvent = "Cost Consent Opened"
  9. CostConsentComplete SegmentEvent = "Cost Consent Complete"
  10. CredentialStepComplete SegmentEvent = "Credential Step Complete"
  11. PreProvisionCheck SegmentEvent = "Pre Provision Check Started"
  12. AWSInputted SegmentEvent = "AWS Account ID Inputted"
  13. AWSCloudformationRedirect SegmentEvent = "AWS Cloudformation Redirect"
  14. AWSLoginRedirect SegmentEvent = "AWS Login Redirect"
  15. AWSCreateIntegrationSuccess SegmentEvent = "AWS Create Integration Success"
  16. AWSCreateIntegrationFailure SegmentEvent = "AWS Create Integration Failure"
  17. ProvisioningAttempted SegmentEvent = "Provisioning Attempted"
  18. ProvisioningFailure SegmentEvent = "Provisioning Failure"
  19. ClusterProvisioningStart SegmentEvent = "Cluster Provisioning Started"
  20. ClusterProvisioningError SegmentEvent = "Cluster Provisioning Error"
  21. ClusterProvisioningSuccess SegmentEvent = "Cluster Provisioning Success"
  22. RegistryProvisioningStart SegmentEvent = "Registry Provisioning Started"
  23. RegistryProvisioningError SegmentEvent = "Registry Provisioning Error"
  24. RegistryProvisioningSuccess SegmentEvent = "Registry Provisioning Success"
  25. ClusterConnectionStart SegmentEvent = "Cluster Connection Started"
  26. ClusterConnectionSuccess SegmentEvent = "Cluster Connection Success"
  27. RegistryConnectionStart SegmentEvent = "Registry Connection Started"
  28. RegistryConnectionSuccess SegmentEvent = "Registry Connection Success"
  29. GithubConnectionStart SegmentEvent = "Github Connection Started"
  30. GithubConnectionSuccess SegmentEvent = "Github Connection Success"
  31. // launch flow
  32. ApplicationLaunchStart SegmentEvent = "Application Launch Started"
  33. ApplicationLaunchSuccess SegmentEvent = "Application Launch Success"
  34. ApplicationDeploymentWebhook SegmentEvent = "Triggered Re-deploy via Webhook"
  35. // delete events
  36. ClusterDestroyingStart SegmentEvent = "Cluster Destroying Start"
  37. ClusterDestroyingSuccess SegmentEvent = "Cluster Destroying Success"
  38. // porter apps
  39. StackLaunchStart SegmentEvent = "Stack Launch Started"
  40. StackLaunchComplete SegmentEvent = "Stack Launch Complete"
  41. StackLaunchSuccess SegmentEvent = "Stack Launch Success"
  42. StackLaunchFailure SegmentEvent = "Stack Launch Failure"
  43. StackDeletion SegmentEvent = "Stack Deletion"
  44. StackBuildProgressing SegmentEvent = "Stack Build Progressing"
  45. StackBuildFailure SegmentEvent = "Stack Build Failure"
  46. StackBuildSuccess SegmentEvent = "Stack Build Success"
  47. )