Ghost/ghost/email-analytics-service/lib
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-service.js Added members.email_open_rate aggregation to email analytics (#12458) 2021-02-24 21:03:29 +00:00
event-processing-result.js Added email analytics service (#12393) 2021-02-24 21:03:29 +00:00