public function getRank($url)
    {
        Piwik::checkUserHasSomeViewAccess();

        $metricProvider = new ProviderCache(new Aggregator());
        $domain = Url::getHostFromUrl($url);
        $metrics = $metricProvider->getMetrics($domain);

        return $this->toDataTable($metrics);
    }
public function getRank($url)
    {
        Piwik::checkUserHasSomeViewAccess();

        $metricProvider = new ProviderCache(new Aggregator());
        $domain = Url::getHostFromUrl($url);
        $metrics = $metricProvider->getMetrics($domain);

        return $this->toDataTable($metrics);
    }
public function getRank ( $ url ) { Piwik :: checkUserHasSomeViewAccess ( ) ; $ metricProvider = new ProviderCache ( new Aggregator ( ) ) ; $ domain = Url :: getHostFromUrl ( $ url ) ; $ metrics = $ metricProvider -> getMetrics ( $ domain ) ; return $ this -> toDataTable ( $ metrics ) ; }
Returns SEO statistics for a URL.

@param string $url URL to request SEO stats for
@return DataTable
Returns SEO statistics for a URL .