chengwl 4 年之前
父節點
當前提交
f5ad14b7c8
共有 2 個文件被更改,包括 2 次插入1 次删除
  1. 1 0
      controllers/IndexController.php
  2. 1 1
      lib/GA.php

+ 1 - 0
controllers/IndexController.php

@@ -63,6 +63,7 @@ class IndexController extends Controller
       $ga=new GA();
       $store="supernova";
       $data=$ga->trafficsource($store);
+      exit;
       // $contentpages=$ga->contentpages($store);
       // $this->addContentpages($contentpages,$store);
 

+ 1 - 1
lib/GA.php

@@ -148,7 +148,7 @@ class GA{
         $dimensionArr=[
             'pagePath'=>'ga:source',
             'date'=>"ga:date",
-            'acquisitionTrafficChannel'=>"ga:acquisitionTrafficChannel",
+            'channelGrouping'=>"ga:channelGrouping",
             'landingPagePath'=>"ga:landingPagePath",
             'keyword'=>"ga:keyword",
             'socialNetwork'=>"ga:socialNetwork",