blob: 4e23c9f74677432bfa4531f8733d6a041692f347 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
<?php
/**
* Piwik - free/libre analytics platform
*
* @link http://piwik.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*
*/
namespace Piwik\Plugins\Referrers;
use Piwik\SettingsPiwik;
class Widgets extends \Piwik\Plugin\Widgets
{
protected $category = 'SEO';
public function init()
{
if (SettingsPiwik::isSegmentationEnabled()) {
$this->addWidget('Referrers_WidgetTopKeywordsForPages', 'getKeywordsForPage');
}
}
}
|