Ghost/ghost
Kevin Ansfield 2b1dc351d2 Added members.email_open_rate aggregation to email analytics (#12458)
refs https://github.com/TryGhost/Ghost/issues/12421
requires https://github.com/TryGhost/Ghost/pull/12457

- updates stats aggregator to calculate and store an open rate for each member
  - uses two queries because I couldn't find a reasonable approach to perform the update in a single query as per the email aggregation
  - benchmarked locally at <1sec/1000members
  - will not store an open rate unless the number of tracked emails sent to a member is above a certain threshold (defaults to 5) to avoid new members being heavily weighted
- fixes typo in EmailAnalytics that was stopping member stats from being aggregated
2021-02-24 21:03:29 +00:00
..
email-analytics-provider-mailgun Added guard for page.items existing in Mailgun response 2021-02-24 21:03:29 +00:00
email-analytics-service Added members.email_open_rate aggregation to email analytics (#12458) 2021-02-24 21:03:29 +00:00
.gitkeep Initial commit 2020-11-25 15:13:40 +00:00