24 lines
1.2 KiB
Markdown
24 lines
1.2 KiB
Markdown
## Why
|
|
|
|
Current Umami event payloads for CTA clicks and summary modal interactions include only `article_id`, which makes analysis harder when reviewing dashboards and raw events. Adding human-readable article context improves analyst speed and reduces lookup friction.
|
|
|
|
## What Changes
|
|
|
|
- Add `article_title` to CTA-click event payloads so click analytics can be understood without cross-referencing IDs.
|
|
- Add `article_title` to summary modal open/close event payloads in addition to existing `article_id` context.
|
|
- Keep existing event names and current fields intact for backward compatibility.
|
|
|
|
## Capabilities
|
|
|
|
### New Capabilities
|
|
- None.
|
|
|
|
### Modified Capabilities
|
|
- `hero-display`: Update analytics tracking requirement so CTA click events include both `article_id` and `article_title`.
|
|
- `summary-analytics-tagging`: Update modal open/close analytics requirements so payload includes `article_title` with existing article context identifier.
|
|
|
|
## Impact
|
|
|
|
- **Frontend analytics wiring:** `frontend/index.html` event payload construction for hero/feed CTA clicks and summary modal open/close events.
|
|
- **Analytics consumers:** Umami dashboards and downstream event analysis gain readable article context while preserving existing identifiers.
|