2022-09-22 14:39:52 +03:00
|
|
|
<section class="gh-canvas" {{did-insert this.loadData}}>
|
2022-09-13 14:18:32 +03:00
|
|
|
|
2022-09-17 14:26:39 +03:00
|
|
|
<GhCanvasHeader class="gh-canvas-header stacked gh-post-analytics-header">
|
2022-09-15 17:15:25 +03:00
|
|
|
<div class="gh-canvas-breadcrumb">
|
|
|
|
<LinkTo @route="posts">
|
|
|
|
Posts
|
|
|
|
</LinkTo>
|
|
|
|
{{svg-jar "arrow-right-small"}}Analytics
|
|
|
|
</div>
|
2022-09-14 16:22:25 +03:00
|
|
|
<h2 class="gh-canvas-title gh-post-title">
|
|
|
|
{{this.post.title}}
|
2022-09-13 14:18:32 +03:00
|
|
|
</h2>
|
2022-09-22 19:18:46 +03:00
|
|
|
<div class="gh-post-analytics-meta">
|
|
|
|
<div class="gh-post-analytics-meta-text">
|
|
|
|
{{#if
|
|
|
|
(or this.post.isSent
|
|
|
|
(and this.post.isPublished this.post.email)
|
|
|
|
this.post.willEmail
|
|
|
|
)
|
|
|
|
}}
|
|
|
|
{{#if this.post.emailOnly}}
|
|
|
|
Sent
|
|
|
|
{{else}}
|
|
|
|
Published and sent
|
|
|
|
{{/if}}
|
2022-09-20 15:53:50 +03:00
|
|
|
{{else}}
|
2022-09-22 19:18:46 +03:00
|
|
|
Published on your site
|
2022-09-20 15:53:50 +03:00
|
|
|
{{/if}}
|
|
|
|
|
2022-09-22 19:18:46 +03:00
|
|
|
{{#let (moment-site-tz this.post.publishedAtUTC) as |publishedAt|}}
|
|
|
|
on
|
|
|
|
{{moment-format publishedAt "D MMM YYYY"}}
|
|
|
|
at
|
|
|
|
{{moment-format publishedAt "HH:mm"}}
|
|
|
|
{{/let}}
|
|
|
|
</div>
|
2022-09-26 19:27:53 +03:00
|
|
|
<LinkTo @route="editor.edit" @models={{array this.post.displayName this.post.id}} class="gh-post-list-cta edit" title="">
|
|
|
|
{{svg-jar "pen" title=""}}<span>Edit post</span>
|
2022-09-22 19:18:46 +03:00
|
|
|
</LinkTo>
|
|
|
|
</div>
|
2022-09-13 14:18:32 +03:00
|
|
|
</GhCanvasHeader>
|
|
|
|
|
2022-09-14 16:22:25 +03:00
|
|
|
<h4 class="gh-main-section-header small bn">
|
|
|
|
Engagement
|
|
|
|
</h4>
|
2022-09-17 14:26:39 +03:00
|
|
|
<div class="gh-post-analytics-box">
|
2022-09-22 16:39:44 +03:00
|
|
|
{{#if (or this.post.isSent (and this.post.isPublished this.post.email))}}
|
|
|
|
<div class="gh-post-analytics-item">
|
|
|
|
<h3>{{format-number this.post.email.emailCount}}</h3>
|
|
|
|
<p>Sent</p>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{{#if (and this.post.email.trackOpens this.settings.emailTrackOpens) }}
|
|
|
|
<div class="gh-post-analytics-item">
|
|
|
|
<h3>{{this.post.email.openRate}}<sup>%</sup></h3>
|
|
|
|
<p><strong>{{format-number this.post.email.openedCount}}</strong> opened</p>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
{{#if this.settings.emailTrackClicks}}
|
|
|
|
<div class="gh-post-analytics-item">
|
|
|
|
<h3>{{this.post.clickRate}}<sup>%</sup></h3>
|
|
|
|
<p><strong>{{format-number this.post.count.clicks}}</strong> clicked</p>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
{{#if (and (feature 'memberAttribution') (not this.post.emailOnly)) }}
|
|
|
|
<div class="gh-post-analytics-item">
|
|
|
|
<h3>{{format-number this.post.count.signups}}</h3>
|
2022-09-22 19:18:46 +03:00
|
|
|
<p>{{gh-pluralize this.post.count.signups "signup" without-count=true}}</p>
|
2022-09-22 16:39:44 +03:00
|
|
|
</div>
|
|
|
|
|
|
|
|
{{#if this.membersUtils.paidMembersEnabled}}
|
|
|
|
<div class="gh-post-analytics-item">
|
2022-09-26 15:25:27 +03:00
|
|
|
<h3>{{format-number this.post.count.paid_conversions}}</h3>
|
|
|
|
<p><span class="hide-when-small">Paid </span>{{gh-pluralize this.post.count.paid_conversions "conversion" without-count=true}}</p>
|
2022-09-22 16:39:44 +03:00
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
2022-09-14 16:22:25 +03:00
|
|
|
</div>
|
|
|
|
|
2022-09-22 16:39:44 +03:00
|
|
|
{{#if (and this.settings.emailTrackClicks (or this.post.isSent (and this.post.isPublished this.post.email)))}}
|
|
|
|
{{#if (not-eq this.links null)}}
|
2022-09-22 19:18:46 +03:00
|
|
|
{{#if (is-empty this.links) }}
|
|
|
|
{{!-- Empty state --}}
|
|
|
|
{{else}}
|
|
|
|
<h4 class="gh-main-section-header small bn">
|
2022-09-26 20:12:06 +03:00
|
|
|
Newsletter clicks
|
2022-09-22 19:18:46 +03:00
|
|
|
</h4>
|
|
|
|
<div class="gh-post-analytics-box column">
|
|
|
|
<div class="gh-links-list">
|
2022-09-22 16:39:44 +03:00
|
|
|
{{#each this.links as |link|}}
|
|
|
|
<div class="gh-links-list-item">
|
2022-09-23 17:23:39 +03:00
|
|
|
<a href="{{link.link.to}}" target="_blank" rel="noopener noreferrer">{{link.link.title}}</a>
|
2022-09-22 16:39:44 +03:00
|
|
|
<p class="gh-links-list-clicks">{{link.count.clicks}}</p>
|
|
|
|
</div>
|
|
|
|
{{/each}}
|
2022-09-22 19:18:46 +03:00
|
|
|
</div>
|
2022-09-22 16:39:44 +03:00
|
|
|
</div>
|
2022-09-22 19:18:46 +03:00
|
|
|
{{/if}}
|
2022-09-22 16:39:44 +03:00
|
|
|
{{else}}
|
|
|
|
Loading...
|
|
|
|
{{/if}}
|
2022-09-22 14:39:52 +03:00
|
|
|
{{/if}}
|
2022-09-16 18:09:54 +03:00
|
|
|
|
2022-09-22 16:39:44 +03:00
|
|
|
{{#if (and (feature 'sourceAttribution') (not this.post.emailOnly))}}
|
|
|
|
{{#if (not-eq this.sources null) }}
|
|
|
|
{{#if (is-empty this.sources) }}
|
2022-09-22 19:18:46 +03:00
|
|
|
{{!-- Empty state --}}
|
2022-09-22 16:39:44 +03:00
|
|
|
{{else}}
|
2022-09-22 19:18:46 +03:00
|
|
|
<h4 class="gh-main-section-header small bn">
|
|
|
|
Source attribution
|
|
|
|
</h4>
|
|
|
|
<div class="gh-post-analytics-box column">
|
|
|
|
<div class="gh-attribution-box">
|
2022-09-27 17:34:03 +03:00
|
|
|
<div class="gh-attribution-table-column">
|
|
|
|
<MemberAttribution::SourceAttributionTable
|
|
|
|
@sources={{this.sources}}
|
|
|
|
@sortColumn={{this.sortColumn}}
|
|
|
|
@setSortColumn={{this.setSortColumn}}
|
|
|
|
/>
|
|
|
|
</div>
|
2022-09-22 19:18:46 +03:00
|
|
|
<div class="gh-attribution-chart-column">
|
|
|
|
<div class="gh-attribution-chart-column-inner">
|
2022-09-27 17:34:03 +03:00
|
|
|
<MemberAttribution::SourceAttributionChart
|
|
|
|
@sources={{this.sources}}
|
|
|
|
@sortColumn={{this.sortColumn}}
|
|
|
|
@setSortColumn={{this.setSortColumn}}
|
|
|
|
/>
|
2022-09-22 16:39:44 +03:00
|
|
|
</div>
|
2022-09-21 19:18:01 +03:00
|
|
|
</div>
|
2022-09-21 16:01:31 +03:00
|
|
|
</div>
|
|
|
|
</div>
|
2022-09-22 16:39:44 +03:00
|
|
|
{{/if}}
|
|
|
|
{{else}}
|
|
|
|
Loading...
|
2022-09-21 19:18:01 +03:00
|
|
|
{{/if}}
|
2022-09-21 16:01:31 +03:00
|
|
|
{{/if}}
|
|
|
|
|
2022-09-16 18:09:54 +03:00
|
|
|
<h4 class="gh-main-section-header small bn">
|
|
|
|
Get started with analytics
|
|
|
|
</h4>
|
2022-09-17 14:26:39 +03:00
|
|
|
<div class="gh-post-analytics-box resources">
|
2022-09-22 19:18:46 +03:00
|
|
|
<a href="https://ghost.org/help/" target="_blank" class="gh-post-analytics-resource" rel="noopener noreferrer">
|
2022-09-17 14:21:03 +03:00
|
|
|
<div class="thumbnail" style="background-image: url(assets/img/marketing/analytics-1.jpg);"></div>
|
|
|
|
<div class="flex flex-column justify-between">
|
|
|
|
<div>
|
2022-09-22 19:18:46 +03:00
|
|
|
<h3>Understand analytics in Ghost</h3>
|
2022-09-17 14:21:03 +03:00
|
|
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
|
|
|
|
</div>
|
|
|
|
<div class="gh-btn gh-btn-link">Become an expert →</div>
|
2022-09-16 18:09:54 +03:00
|
|
|
</div>
|
2022-09-22 19:18:46 +03:00
|
|
|
</a>
|
|
|
|
<a href="https://ghost.org/resources" target="_blank" class="gh-post-analytics-resource" rel="noopener noreferrer">
|
2022-09-17 14:21:03 +03:00
|
|
|
<div class="thumbnail" style="background-image: url(assets/img/marketing/analytics-2.jpg);"></div>
|
2022-09-16 18:09:54 +03:00
|
|
|
<div class="flex flex-column justify-between">
|
|
|
|
<div>
|
|
|
|
<h3>How to best share your shiz</h3>
|
|
|
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
|
|
|
|
</div>
|
|
|
|
<div class="gh-btn gh-btn-link">Sharing is caring →</div>
|
|
|
|
</div>
|
2022-09-22 19:18:46 +03:00
|
|
|
</a>
|
2022-09-16 18:09:54 +03:00
|
|
|
</div>
|
2022-09-13 12:00:45 +03:00
|
|
|
|
|
|
|
</section>
|