Ask HN: How do you name behavioral tracking events when building web apps?
Given the problem that when working on a product, you want to track a users journey, actions, intent, failures, outcomes etc for the purpose that anyone in the company be them the CEO, marketer, engineer, customer success, support, can piece together the metrics in any appropriate tool (Segment, Google Analytics, Mixpanel, Intercom etc)
How to name things?!?
(events can obviously have metadata attached, such as the url or component where it happened)
This is just riff-raff in an attempt to be thought provoking;
NOUN_ACTION
USER_CLICKED vs USER_CLICK
HOMEPAGE_USER_REGISTERED vs FORMNAME_USER_REGISTERED
LOGIN_FORM_SUBMITTED or USER_LOGIN
SIGNUP_FORM_FAILED or FAILED_SIGNUP
USER_LOGGED_OUT or LOGGED_OUT
OPENED_DOCUMENT or DOCUMENT_OPENED
EVENT or EVENT_HAPPENED or DID_EVENT_DID_NOT