From fe0071496c04625ec365820e6e4a4e7a0e5387c1 Mon Sep 17 00:00:00 2001 From: Simon Backx Date: Tue, 20 Sep 2022 14:53:50 +0200 Subject: [PATCH] Added real count data to analytics page closes https://github.com/TryGhost/Team/issues/1934 --- ghost/admin/app/templates/posts/analytics.hbs | 42 ++++++++++++++----- 1 file changed, 32 insertions(+), 10 deletions(-) diff --git a/ghost/admin/app/templates/posts/analytics.hbs b/ghost/admin/app/templates/posts/analytics.hbs index 54076be27c..5da740ba16 100644 --- a/ghost/admin/app/templates/posts/analytics.hbs +++ b/ghost/admin/app/templates/posts/analytics.hbs @@ -10,7 +10,29 @@

{{this.post.title}}

-

Published and sent on 12 Feb 2022 at 11:57 to free subscribers

+

+ {{#if + (or post.isSent + (and post.isPublished post.email) + post.willEmail + ) + }} + {{#if post.emailOnly}} + Sent + {{else}} + Published and sent + {{/if}} + {{else}} + Published on your site + {{/if}} + + {{#let (moment-site-tz post.publishedAtUTC) as |publishedAt|}} + on + {{moment-format publishedAt "D MMM YYYY"}} + at + {{moment-format publishedAt "HH:mm"}}. + {{/let}} +

@@ -18,24 +40,24 @@

-

20.251

+

{{format-number this.post.email.emailCount}}

Sent

-

60%

-

12.200 opened

+

{{this.post.email.openRate}}%

+

{{format-number this.post.email.openedCount}} opened

-

15%

-

3.038 clicked

+

{{this.post.clickRate}}%

+

{{format-number this.post.count.clicks}} clicked

-

16

-

Free signups

+

{{format-number this.post.count.signups}}

+

Free {{gh-pluralize this.post.count.signups "signup" without-count=true}}

-

10

-

Paid conversions

+

{{format-number this.post.count.conversions}}

+

Paid {{gh-pluralize this.post.count.conversions "conversion" without-count=true}}