2020-10-14 12:38:48 +02:00
|
|
|
<?= $this->extend('admin/_layout') ?>
|
|
|
|
|
|
|
|
<?= $this->section('title') ?>
|
|
|
|
<?= $podcast->title ?>
|
|
|
|
<?= $this->endSection() ?>
|
|
|
|
|
|
|
|
<?= $this->section('pageTitle') ?>
|
|
|
|
<?= $podcast->title ?>
|
|
|
|
<?= $this->endSection() ?>
|
|
|
|
|
|
|
|
<?= $this->section('content') ?>
|
|
|
|
|
2020-10-26 17:13:43 +01:00
|
|
|
<div class="lg:divide-x lg:grid lg:grid-cols-2">
|
2020-10-14 12:38:48 +02:00
|
|
|
|
|
|
|
<div class="mb-12 mr-6 text-center">
|
|
|
|
<h2><?= lang('Charts.by_domain_weekly') ?></h2>
|
|
|
|
<div class="chart-pie" id="by-domain-weekly-pie" data-chart-type="pie-chart" data-chart-url="<?= route_to(
|
|
|
|
'analytics-data',
|
|
|
|
$podcast->id,
|
|
|
|
'WebsiteByReferer',
|
2021-05-06 16:00:48 +02:00
|
|
|
'ByDomainWeekly',
|
2020-10-14 12:38:48 +02:00
|
|
|
) ?>"></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="mb-12 mr-6 text-center">
|
|
|
|
<h2><?= lang('Charts.by_domain_yearly') ?></h2>
|
|
|
|
<div class="chart-pie" id="by-domain-yearly-pie" data-chart-type="pie-chart" data-chart-url="<?= route_to(
|
|
|
|
'analytics-data',
|
|
|
|
$podcast->id,
|
|
|
|
'WebsiteByReferer',
|
2021-05-06 16:00:48 +02:00
|
|
|
'ByDomainYearly',
|
2020-10-14 12:38:48 +02:00
|
|
|
) ?>"></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="mb-12 mr-6 text-center">
|
|
|
|
<h2><?= lang('Charts.by_entry_page') ?></h2>
|
|
|
|
<div class="chart-pie" id="by-entry-page-pie" data-chart-type="pie-chart" data-chart-url="<?= route_to(
|
|
|
|
'analytics-full-data',
|
|
|
|
$podcast->id,
|
2021-05-06 16:00:48 +02:00
|
|
|
'WebsiteByEntryPage',
|
2020-10-14 12:38:48 +02:00
|
|
|
) ?>"></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="mb-12 mr-6 text-center">
|
|
|
|
<h2><?= lang('Charts.by_browser') ?></h2>
|
|
|
|
<div class="chart-pie" id="by-browser-pie" data-chart-type="pie-chart" data-chart-url="<?= route_to(
|
|
|
|
'analytics-full-data',
|
|
|
|
$podcast->id,
|
2021-05-06 16:00:48 +02:00
|
|
|
'WebsiteByBrowser',
|
2020-10-14 12:38:48 +02:00
|
|
|
) ?>"></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-07-12 19:47:56 +02:00
|
|
|
<?= service('vite')->asset('js/charts.ts', 'js') ?>
|
2020-10-14 12:38:48 +02:00
|
|
|
<?= $this->endSection() ?>
|