protected function init() { parent::init(); $this->dimension = new DestinationPage(); $this->name = Piwik::translate('Actions_WidgetPageTitlesFollowingSearch'); $this->documentation = Piwik::translate('Actions_SiteSearchFollowingPagesDoc') . '<br/>' . Piwik::translate('General_UsePlusMinusIconsDocumentation'); $this->metrics = array('nb_hits_following_search', 'nb_hits'); $this->order = 19; $this->widgetTitle = 'Actions_WidgetPageTitlesFollowingSearch'; }
protected function init() { parent::init(); $this->dimension = new KeywordwithNoSearchResult(); $this->name = Piwik::translate('Actions_WidgetSearchNoResultKeywords'); $this->documentation = Piwik::translate('Actions_SiteSearchIntro') . '<br /><br />' . Piwik::translate('Actions_SiteSearchKeywordsNoResultDocumentation'); $this->metrics = array('nb_visits', 'exit_rate'); $this->order = 16; $this->widgetTitle = 'Actions_WidgetSearchNoResultKeywords'; }
protected function init() { parent::init(); $this->dimension = new Keyword(); $this->name = Piwik::translate('Actions_WidgetSearchKeywords'); $this->documentation = Piwik::translate('Actions_SiteSearchKeywordsDocumentation') . '<br/><br/>' . Piwik::translate('Actions_SiteSearchIntro') . '<br/><br/>' . '<a href="http://piwik.org/docs/site-search/" target="_blank">' . Piwik::translate('Actions_LearnMoreAboutSiteSearchLink') . '</a>'; $this->metrics = array('nb_visits', 'nb_pages_per_search', 'exit_rate'); $this->order = 15; $this->widgetTitle = 'Actions_WidgetSearchKeywords'; }
protected function init() { parent::init(); $this->dimension = new Keyword(); $this->name = Piwik::translate('Actions_WidgetSearchKeywords'); $this->documentation = Piwik::translate('Actions_SiteSearchKeywordsDocumentation') . '<br/><br/>' . Piwik::translate('Actions_SiteSearchIntro') . '<br/><br/>' . '<a href="http://piwik.org/docs/site-search/" rel="noreferrer" target="_blank">' . Piwik::translate('Actions_LearnMoreAboutSiteSearchLink') . '</a>'; $this->metrics = array('nb_visits', 'nb_pages_per_search'); $this->processedMetrics = array(new AverageTimeOnPage(), new BounceRate(), new ExitRate(), new AveragePageGenerationTime()); $this->order = 15; $this->widgetTitle = 'Actions_WidgetSearchKeywords'; }
protected function init() { parent::init(); $this->dimension = new KeywordwithNoSearchResult(); $this->name = Piwik::translate('Actions_WidgetSearchNoResultKeywords'); $this->documentation = Piwik::translate('Actions_SiteSearchIntro') . '<br /><br />' . Piwik::translate('Actions_SiteSearchKeywordsNoResultDocumentation'); $this->metrics = array('nb_visits'); $this->processedMetrics = array(new AverageTimeOnPage(), new BounceRate(), new ExitRate(), new AveragePageGenerationTime()); $this->order = 18; $this->subcategoryId = 'Actions_SubmenuSitesearch'; }
protected function init() { parent::init(); $this->dimension = new DestinationPage(); $this->name = Piwik::translate('Actions_WidgetPageTitlesFollowingSearch'); $this->documentation = Piwik::translate('Actions_SiteSearchFollowingPagesDoc') . '<br/>' . Piwik::translate('General_UsePlusMinusIconsDocumentation'); $this->metrics = array('nb_hits_following_search', 'nb_hits'); $this->processedMetrics = array(new AverageTimeOnPage(), new BounceRate(), new ExitRate(), new AveragePageGenerationTime()); $this->order = 19; $this->subcategoryId = 'Actions_SubmenuSitesearch'; }
protected function isEnabledForIdSites($idSites, $idSite) { return parent::isEnabledForIdSites($idSites, $idSite) && Actions::isCustomVariablesPluginsEnabled(); }
public function isEnabled() { return parent::isEnabled() && Actions::isCustomVariablesPluginsEnabled(); }