chengwl %!s(int64=4) %!d(string=hai) anos
pai
achega
f5ad14b7c8
Modificáronse 2 ficheiros con 2 adicións e 1 borrados
  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",