function google_analytics_api_account_data in Google Analytics Reports 7
Same name and namespace in other branches
- 6 google_analytics_api.module \google_analytics_api_account_data()
Request account data.
Parameters
$params: An associative array containing:
- start-index: optional [default=1]
- max-results: optional [default=20]
$cache_options: An optional associative array containing:
- cid: optional [default=md5 hash]
- expire: optional [default=CACHE_TEMPORARY]
- refresh: optional [default=FALSE]
1 call to google_analytics_api_account_data()
- google_analytics_api_admin in ./
google_analytics_api.pages.inc - Menu callback - admin form for OAuth and other settings.
File
- ./
google_analytics_api.module, line 104 - Implements the API through which Google Analytics data can be accessed.
Code
function google_analytics_api_account_data($params = array(), $cache_options = array()) {
$GAFeed = google_analytics_api_new_gafeed();
$GAFeed
->queryAccountFeed($params, $cache_options);
return $GAFeed;
}