site-kit-wp icon indicating copy to clipboard operation
site-kit-wp copied to clipboard

Add support for in email notices - Analytics set up (views at the top of the template)

Open benbowler opened this issue 1 month ago • 1 comments

Feature Description

Update the email reporting infrastructure to support in email report notices. The initial notices will be:

  • Analytics set up (views at the top of the template) This ticket
  • Enable Conversion events (views within a section)

Email notices should be flexible for future registered notifications. Notices should be dismissed if clicked or after being included in two email reports.


Do not alter or remove anything below. The following sections will be managed by moderators only.

Acceptance criteria

  • Email report templates support pluggable "in email" notices, starting with a header notice slot. Notices can be registered with an ID, placement, display logic, CTA label/URL, and dismissal key/count.
  • The "Analytics set up" notice shows at the top of the email report when the recipient does not have Analytics set up (mirroring the existing dashboard "never connected" condition). It should target users who can act on setup (admins/shared owners).
  • Clicking the notice CTA routes through the email link proxy, redirects the user to the dashboard Analytics setup flow, and dismisses the notice for that user.
  • Notices are suppressed once dismissed and are automatically dismissed after they have appeared in two sent reports (per user). If a notice is excluded (dismissed or exhausted), it does not render in the email.
  • Existing email content remains unchanged aside from the new header notice block when present; no notice renders if none are eligible.

Implementation Brief

  • [ ]

Test Coverage

QA Brief

Changelog entry

benbowler avatar Nov 27 '25 16:11 benbowler

AC ✔️

eugene-manuilov avatar Dec 10 '25 17:12 eugene-manuilov