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