diff options
Diffstat (limited to 'plugins/Referrers/API.php')
-rw-r--r-- | plugins/Referrers/API.php | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/plugins/Referrers/API.php b/plugins/Referrers/API.php index 8bc75044f8..02a37f5e7e 100644 --- a/plugins/Referrers/API.php +++ b/plugins/Referrers/API.php @@ -27,7 +27,6 @@ use Piwik\Site; * For example, "getKeywords" returns all search engine keywords (with <a href='http://matomo.org/docs/analytics-api/reference/#toc-metric-definitions' rel='noreferrer' target='_blank'>general analytics metrics</a> for each keyword), "getWebsites" returns referrer websites (along with the full Referrer URL if the parameter &expanded=1 is set). * "getReferrerType" returns the Referrer overview report. "getCampaigns" returns the list of all campaigns (and all campaign keywords if the parameter &expanded=1 is set). * - * The methods "getKeywordsForPageUrl" and "getKeywordsForPageTitle" are used to output the top keywords used to find a page. * @method static \Piwik\Plugins\Referrers\API getInstance() */ class API extends \Piwik\Plugin\API @@ -256,29 +255,6 @@ class API extends \Piwik\Plugin\API } /** - * @deprecated will be removed in Matomo 4.0.0 - */ - public function getKeywordsForPageUrl($idSite, $period, $date, $url) - { - // Fetch the Top keywords for this page - $segment = 'entryPageUrl==' . $url; - $table = $this->getKeywords($idSite, $period, $date, $segment); - $this->filterOutKeywordNotDefined($table); - return $this->getLabelsFromTable($table); - } - - /** - * @deprecated will be removed in Matomo 4.0.0 - */ - public function getKeywordsForPageTitle($idSite, $period, $date, $title) - { - $segment = 'entryPageTitle==' . $title; - $table = $this->getKeywords($idSite, $period, $date, $segment); - $this->filterOutKeywordNotDefined($table); - return $this->getLabelsFromTable($table); - } - - /** * @param DataTable $table */ private function filterOutKeywordNotDefined($table) |