hotfix/远程访问多媒体中心
LMR 6 years ago
parent 8bed454bfb
commit 8c52503ce2

@ -71,13 +71,10 @@ class Gaapi extends CI_Controller
//Create the dimensions //Create the dimensions
$pageUrl = new Google_Service_AnalyticsReporting_Dimension(); $pageUrl = new Google_Service_AnalyticsReporting_Dimension();
$pageUrl->setName("ga:pagePath"); $pageUrl->setName("ga:pagePath");
$pageUrl->setAlias("path");
$cid = new Google_Service_AnalyticsReporting_Dimension(); $cid = new Google_Service_AnalyticsReporting_Dimension();
$cid->setName("ga:dimension1"); $cid->setName("ga:dimension1");
$cid->setAlias("cid");
$hitTime = new Google_Service_AnalyticsReporting_Dimension(); $hitTime = new Google_Service_AnalyticsReporting_Dimension();
$hitTime->setName("ga:dimension3"); $hitTime->setName("ga:dimension3");
$hitTime->setAlias("hitTime");
// Create the ReportRequest object. // Create the ReportRequest object.
$request = new Google_Service_AnalyticsReporting_ReportRequest(); $request = new Google_Service_AnalyticsReporting_ReportRequest();

Loading…
Cancel
Save