|
@@ -87,7 +87,7 @@ class GA{
|
|
return $analytics->reports->batchGet( $body );
|
|
return $analytics->reports->batchGet( $body );
|
|
|
|
|
|
}
|
|
}
|
|
- function getResults($repo0rts) {
|
|
|
|
|
|
+ function getResults($reports) {
|
|
$data=[];
|
|
$data=[];
|
|
for ( $reportIndex = 0; $reportIndex < count( $reports ); $reportIndex++ ) {
|
|
for ( $reportIndex = 0; $reportIndex < count( $reports ); $reportIndex++ ) {
|
|
$item=[];
|
|
$item=[];
|