0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00

Update engagement copy in Post Analytics

closes https://github.com/TryGhost/Team/issues/2016

- the absolute value and percentage for Opened and Clicked metrics in the engagement section of the post analytics page were inconsistent
This commit is contained in:
Peter Zimon 2022-10-03 08:42:19 +02:00
parent cf5dbb6981
commit 349ef4926c

View file

@ -55,8 +55,8 @@
{{#if this.post.showEmailOpenAnalytics }}
<div class="gh-post-analytics-item">
<LinkTo @route="members" @query={{hash filterParam=(concat "opened_emails.post_id:[" this.post.id "]") }}>
<h3>{{this.post.email.openRate}}<sup>%</sup></h3>
<p><strong>{{format-number this.post.email.openedCount}}</strong> opened</p>
<h3>{{format-number this.post.email.openedCount}}</h3>
<p>Opened &mdash; <strong>{{this.post.email.openRate}}%</strong></p>
</LinkTo>
</div>
{{/if}}
@ -64,8 +64,8 @@
{{#if this.post.showEmailClickAnalytics }}
<div class="gh-post-analytics-item">
<LinkTo @route="members" @query={{hash filterParam=(concat "clicked_links.post_id:[" this.post.id "]") }}>
<h3>{{this.post.clickRate}}<sup>%</sup></h3>
<p><strong>{{format-number this.post.count.clicks}}</strong> clicked</p>
<h3>{{format-number this.post.count.clicks}}</h3>
<p>Clicked &mdash; <strong>{{this.post.clickRate}}%</strong></p>
</LinkTo>
</div>
{{/if}}