0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00

Added real count data to analytics page

closes https://github.com/TryGhost/Team/issues/1934
This commit is contained in:
Simon Backx 2022-09-20 14:53:50 +02:00
parent 41bf5f1530
commit fe0071496c

View file

@ -10,7 +10,29 @@
<h2 class="gh-canvas-title gh-post-title">
{{this.post.title}}
</h2>
<p class="gh-post-analytics-meta">Published and sent on 12 Feb 2022 at 11:57 to free subscribers</p>
<p class="gh-post-analytics-meta">
{{#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}}
</p>
</GhCanvasHeader>
<h4 class="gh-main-section-header small bn">
@ -18,24 +40,24 @@
</h4>
<div class="gh-post-analytics-box">
<div class="gh-post-analytics-item">
<h3>20.251</h3>
<h3>{{format-number this.post.email.emailCount}}</h3>
<p>Sent</p>
</div>
<div class="gh-post-analytics-item">
<h3>60%</h3>
<p><strong>12.200</strong> opened</p>
<h3>{{this.post.email.openRate}}%</h3>
<p><strong>{{format-number this.post.email.openedCount}}</strong> opened</p>
</div>
<div class="gh-post-analytics-item">
<h3>15%</h3>
<p><strong>3.038</strong> clicked</p>
<h3>{{this.post.clickRate}}%</h3>
<p><strong>{{format-number this.post.count.clicks}}</strong> clicked</p>
</div>
<div class="gh-post-analytics-item">
<h3>16</h3>
<p>Free signups</p>
<h3>{{format-number this.post.count.signups}}</h3>
<p>Free {{gh-pluralize this.post.count.signups "signup" without-count=true}}</p>
</div>
<div class="gh-post-analytics-item">
<h3>10</h3>
<p>Paid conversions</p>
<h3>{{format-number this.post.count.conversions}}</h3>
<p>Paid {{gh-pluralize this.post.count.conversions "conversion" without-count=true}}</p>
</div>
</div>