Property | Type | Description | |
---|---|---|---|
$client | |||
$viewId | string |
Method | Description | |
---|---|---|
__construct ( |
||
fetchMostVisitedPages ( |
||
fetchTopBrowsers ( |
||
fetchTopReferrers ( |
||
fetchTotalVisitorsAndPageViews ( |
||
fetchVisitorsAndPageViews ( |
||
getAnalyticsService ( ) : Google_Service_Analytic\Google_Service_Analytics | Get the underlying Google_Service_Analytics object. You can use this to basically call anything on the Google Analytics API. | |
performQuery ( |
Call the query method on the authenticated client. | |
setViewId ( string $viewId ) |
Method | Description | |
---|---|---|
summarizeTopBrowsers ( |
public __construct ( |
||
$client | ||
$viewId | string |
public fetchMostVisitedPages ( |
||
$period | ||
$maxResults | integer | |
return |
public fetchTopBrowsers ( |
||
$period | ||
$maxResults | integer | |
return |
public fetchTopReferrers ( |
||
$period | ||
$maxResults | integer | |
return |
public fetchTotalVisitorsAndPageViews ( |
||
$period | ||
return |
public fetchVisitorsAndPageViews ( |
||
$period | ||
return |
public getAnalyticsService ( ) : Google_Service_Analytic\Google_Service_Analytics | ||
return | Google_Service_Analytic\Google_Service_Analytics |
protected summarizeTopBrowsers ( |
||
$topBrowsers | ||
$maxResults | integer | |
return |
protected AnalyticsClient,Spatie\Analytics $client | ||
return |