You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<div class="notice notice-error is-dismissible"><p><?phpesc_html_e('Sorry, something went wrong in trying to retrieve your stats from WordPress.com. Please check whether your API key and blog URL are correct.', 'koko-analytics'); ?></p></div>
24
+
<div class="notice notice-error is-dismissible"><p><?phpesc_html_e('Sorry, something went wrong in trying to retrieve your stats from WordPress.com. Please check whether your API key and blog URL are correct.', 'koko-analytics'); ?></p></div>
<div class="notice notice-success is-dismissible"><p><?phpesc_html_e('Big success! Your stats are now imported into Koko Analytics.', 'koko-analytics'); ?></p></div>
28
+
<div class="notice notice-success is-dismissible"><p><?phpesc_html_e('Big success! Your stats are now imported into Koko Analytics.', 'koko-analytics'); ?></p></div>
29
29
<?php } ?>
30
30
31
-
<h1><?phpesc_html_e('Import analytics from JetPack Stats', 'koko-analytics'); ?></h1>
32
-
<p><?phpesc_html_e('To import your historical analytics data from JetPack Stats into Koko Analytics, provide your WordPress.com API key and blog URL in the field below.', 'koko-analytics'); ?></p>
31
+
<h1><?phpesc_html_e('Import analytics from JetPack Stats', 'koko-analytics'); ?></h1>
32
+
<p><?phpesc_html_e('To import your historical analytics data from JetPack Stats into Koko Analytics, provide your WordPress.com API key and blog URL in the field below.', 'koko-analytics'); ?></p>
33
33
34
34
<form method="post" onsubmit="return confirm('<?phpesc_attr_e('Are you sure you want to import statistics between', 'koko-analytics'); ?> ' + this['date-start'].value + '<?phpesc_attr_e(' and ', 'koko-analytics'); ?>' + this['date-end'].value + '<?phpesc_attr_e('? This will overwrite any existing data in your Koko Analytics database tables.', 'koko-analytics'); ?>');" action="<?phpechoesc_url(admin_url('index.php?page=koko-analytics&tab=jetpack_importer')); ?>">
35
35
@@ -38,49 +38,49 @@ public function show_page(): void
38
38
39
39
<table class="form-table">
40
40
<tr>
41
-
<th><label for="wpcom-api-key"><?phpesc_html_e('WordPress.com API key', 'koko-analytics'); ?></label></th>
41
+
<th><label for="wpcom-api-key"><?phpesc_html_e('WordPress.com API key', 'koko-analytics'); ?></label></th>
<p class="description"><?phpprintf(esc_html__('You can %1$sfind your WordPress.com API key here%2$s.', 'koko-analytics' ),'<a href="https://apikey.wordpress.com/" target="_blank">','</a>'); ?></p>
44
+
<p class="description"><?phpprintf(esc_html__('You can %1$sfind your WordPress.com API key here%2$s.', 'koko-analytics'), '<a href="https://apikey.wordpress.com/" target="_blank">','</a>'); ?></p>
<p class="description"><?phpesc_html_e('The earliest date for which to import data. You should probably set this to the date that you installed and activated Jetpack Stats.', 'koko-analytics'); ?></p>
60
+
<p class="description"><?phpesc_html_e('The earliest date for which to import data. You should probably set this to the date that you installed and activated Jetpack Stats.', 'koko-analytics'); ?></p>
<p class="description"><?phpesc_html_e('The last date for which to import data. You should probably set this to just before the date that you installed and activated Koko Analytics.', 'koko-analytics'); ?></p>
69
+
<p class="description"><?phpesc_html_e('The last date for which to import data. You should probably set this to just before the date that you installed and activated Koko Analytics.', 'koko-analytics'); ?></p>
<h3><?phpesc_html_e('Things to know before running the import', 'koko-analytics'); ?></h3>
82
-
<p><?phpesc_html_e('Importing data for a given date range will add to any existing data. The import process can not be reverted unless you reinstate a back-up of your database in its current state.', 'koko-analytics'); ?></p>
83
-
<p><?phpesc_html_e('It\'s also important to know that JetPack doesn\'t provide data for the distinct number of visitors, so the data imported will only import the total number of pageviews for each post and therefore differ slightly from data collected by Koko Analytics itself.', 'koko-analytics'); ?></p>
81
+
<h3><?phpesc_html_e('Things to know before running the import', 'koko-analytics'); ?></h3>
82
+
<p><?phpesc_html_e('Importing data for a given date range will add to any existing data. The import process can not be reverted unless you reinstate a back-up of your database in its current state.', 'koko-analytics'); ?></p>
83
+
<p><?phpesc_html_e('It\'s also important to know that JetPack doesn\'t provide data for the distinct number of visitors, so the data imported will only import the total number of pageviews for each post and therefore differ slightly from data collected by Koko Analytics itself.', 'koko-analytics'); ?></p>
84
84
</div>
85
85
</div>
86
86
<?php
@@ -193,14 +193,16 @@ public function import_chunk(): void
<h2><?phpesc_html_e('Upgrade to Koko Analytics Pro', 'koko-analytics'); ?></h2>
208
-
<p><?phpprintf(esc_html__('You are currently using the free version of Koko Analytics. There is a paid add-on called %1$sKoko Analytics Pro%2$s which adds several powerful features:', 'koko-analytics' ),'<a href="https://www.kokoanalytics.com/pricing/" target="_blank">','</a>'); ?></p>
207
+
<h2><?phpesc_html_e('Upgrade to Koko Analytics Pro', 'koko-analytics'); ?></h2>
208
+
<p><?phpprintf(esc_html__('You are currently using the free version of Koko Analytics. There is a paid add-on called %1$sKoko Analytics Pro%2$s which adds several powerful features:', 'koko-analytics'), '<a href="https://www.kokoanalytics.com/pricing/" target="_blank">','</a>'); ?></p>
209
209
<ul class="ul-square">
210
-
<li><?phpesc_html_e('Track outbound link clicks', 'koko-analytics'); ?></li>
211
-
<li><?phpesc_html_e('Track form submissions', 'koko-analytics'); ?></li>
<li><a href="https://www.kokoanalytics.com/2024/08/21/setting-up-email-reports-with-koko-analytics-pro/" target="_blank"><?phpesc_html_e('Periodic email report of your most important statistics', 'koko-analytics'); ?></a></li>
214
-
<li><?phpesc_html_e('Export dashboard view to CSV', 'koko-analytics'); ?></li>
210
+
<li><?phpesc_html_e('Track outbound link clicks', 'koko-analytics'); ?></li>
211
+
<li><?phpesc_html_e('Track form submissions', 'koko-analytics'); ?></li>
<li><a href="https://www.kokoanalytics.com/2024/08/21/setting-up-email-reports-with-koko-analytics-pro/" target="_blank"><?phpesc_html_e('Periodic email report of your most important statistics', 'koko-analytics'); ?></a></li>
214
+
<li><?phpesc_html_e('Export dashboard view to CSV', 'koko-analytics'); ?></li>
<p><?phpesc_html_e('By purchasing Koko Analytics Pro you get immediate access to these features while simultaneously supporting further development and maintenance of this free plugin.', 'koko-analytics'); ?></p>
<p><?phpesc_html_e('By purchasing Koko Analytics Pro you get immediate access to these features while simultaneously supporting further development and maintenance of this free plugin.', 'koko-analytics'); ?></p>
<li><?phpprintf(esc_html__('Have a look at our %1$sknowledge base%2$s for help with configuring and using Koko Analytics.', 'koko-analytics' ),'<a href="https://www.kokoanalytics.com/kb/" target="_blank">','</a>'); ?></li>
231
-
<li><?phpprintf(esc_html__('Go through our %1$srepository of sample code snippets%2$s for inspiration on modifying the default Koko Analytics behavior.', 'koko-analytics' ),'<a href="https://github.com/ibericode/koko-analytics/tree/main/code-snippets" target="_blank">','</a>'); ?></li>
232
-
<li><?phpprintf(esc_html__('Vote on %1$snew features you would like to have in Koko Analytics%2$s.', 'koko-analytics' ),'<a href="https://github.com/ibericode/koko-analytics/discussions?discussions_q=is%3Aopen+sort%3Atop" target="_blank">','</a>'); ?></li>
230
+
<li><?phpprintf(esc_html__('Have a look at our %1$sknowledge base%2$s for help with configuring and using Koko Analytics.', 'koko-analytics'), '<a href="https://www.kokoanalytics.com/kb/" target="_blank">','</a>'); ?></li>
231
+
<li><?phpprintf(esc_html__('Go through our %1$srepository of sample code snippets%2$s for inspiration on modifying the default Koko Analytics behavior.', 'koko-analytics'), '<a href="https://github.com/ibericode/koko-analytics/tree/main/code-snippets" target="_blank">','</a>'); ?></li>
232
+
<li><?phpprintf(esc_html__('Vote on %1$snew features you would like to have in Koko Analytics%2$s.', 'koko-analytics'), '<a href="https://github.com/ibericode/koko-analytics/discussions?discussions_q=is%3Aopen+sort%3Atop" target="_blank">','</a>'); ?></li>
0 commit comments