Ghost/core/server/services/email-analytics/jobs
Kevin Ansfield 567eb6325f
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
2020-12-08 12:43:10 +00:00
..
fetch-all.js Added members.email_open_rate aggregation to email analytics (#12458) 2020-12-08 12:43:10 +00:00
fetch-latest.js Added members.email_open_rate aggregation to email analytics (#12458) 2020-12-08 12:43:10 +00:00
index.js Fixed incorrect knex syntax 2020-12-02 14:53:10 +00:00