intempt:html — raw DOM interactionsintempt:page — page views and exitsintempt:session — session start and end| Question | Answered By |
|---|---|
| Who is the user? | identify() |
| What happened? | track() / record() |
| Which account? | group() |
| Are multiple IDs the same user? | alias() |
| Is tracking allowed? | consent() |
consent() — Can we track?identify() — Who is this?alias() — Are these the same person?track() — Something happenedproductId is providedtrack() is usually the right answer.record() — Something important happenedrecord() when an event represents a business moment, not just an interaction.group() — Which account is this?intempt:session (auto)intempt:page (auto)intempt:html (auto)consent()identify()alias() (once)track() / record()group()track() with productIdAutomatic events give context.
Manual APIs give meaning.
userIdalias() repeatedlyrecord() for simple clicks