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

+ 4 - 3
lib/GA.php

@@ -429,9 +429,10 @@ class GA{
     }
     public function productInfo($productName,$dp,$start_at,$end_at){
         $analytics=self::getInstance($dp);
-        $dimensionArr=[
-            'productName'=>'ga:productName',
-        ];
+        // $dimensionArr=[
+        //     'productName'=>'ga:productName',
+        // ];
+        $dimensionArr=[];
         $metricArr=[
             'itemRevenue'=>"ga:itemRevenue",
             'revenuePerItem'=>"ga:revenuePerItem",