diff options
author | Tim-Hinnerk Heuer <tim@innocraft.com> | 2021-09-14 00:55:10 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-14 00:55:10 +0300 |
commit | 022c77e7290bd7cee76a84518cf4147aa9b352bf (patch) | |
tree | 70cd03eb255f869815d7da12353f756ef9c2d24f /plugins/Referrers | |
parent | 2fd2c0cdbdb7f190e07f683dc34dbd9773d43fa1 (diff) |
add promotion for seo web vitals, add campaign for Heatmaps and Sessiā¦ (#17979)
* add promotion for seo web vitals, add campaign for Heatmaps and Session Recording
fixes #17975
* improve naming
* clarify naming of events
* update ui-screenshot expected images
* only show once on performance page
* update ui-test screenshot
Diffstat (limited to 'plugins/Referrers')
-rw-r--r-- | plugins/Referrers/Reports/GetSearchEngines.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins/Referrers/Reports/GetSearchEngines.php b/plugins/Referrers/Reports/GetSearchEngines.php index 36eab27efd..4392394764 100644 --- a/plugins/Referrers/Reports/GetSearchEngines.php +++ b/plugins/Referrers/Reports/GetSearchEngines.php @@ -8,6 +8,7 @@ */ namespace Piwik\Plugins\Referrers\Reports; +use Piwik\EventDispatcher; use Piwik\Piwik; use Piwik\Plugin\ViewDataTable; use Piwik\Plugins\CoreVisualizations\Visualizations\HtmlTable; @@ -39,6 +40,13 @@ class GetSearchEngines extends Base if ($view->isViewDataTableId(HtmlTable::ID)) { $view->config->disable_subtable_when_show_goals = true; } + $this->configureFooterMessage($view); } + private function configureFooterMessage(ViewDataTable $view) + { + $out = ''; + EventDispatcher::getInstance()->postEvent('Template.afterSearchEngines', array(&$out)); + $view->config->show_footer_message = $out; + } } |