How is it calculated?
You send an event with a name, and optionally properties that describe it, from your page’s code or by marking up an element. The tool counts occurrences and the unique visitors behind them, and can break an event down by its properties.
Names should be few and stable. Properties carry the detail: one event signup with a plan property is easier to read than three events named after each plan.
Example
- 395 visitors
- 250 chose pro
- 160 chose starter
A pricing page sends signup with the property plan: pro when the form is submitted. Over a month the event fires 410 times from 395 visitors. Broken down by the property, 250 chose pro and 160 chose starter.
Common mistakes
- Encoding details in the name.
signup_pro_annual_homepagecannot be grouped. Use properties. - Putting personal data in properties. Email addresses and names do not belong in analytics events.
- Tracking every click. Events you never read still cost volume and attention.