Commit 39ddd4ba7cbffeba7c5408ef176ad80cfcc149cf

Authored by Alex Savenko
1 parent 75f6ff55

dimensions +dynamics +multiple

Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
app/library/App/Controllers/GaController.php
... ... @@ -55,6 +55,7 @@ class GaController extends CrudResourceController {
55 55 //Create the Dimensions object.
56 56 $dimension = [];
57 57 //$get_dimensions = explode(',', $get_dimensions);
  58 + $get_dimensions = ['browser'];
58 59 foreach ($get_dimensions as $dimension) {
59 60 $dimension_obj = new Google_Service_AnalyticsReporting_Dimension();
60 61 $dimension_obj->setName("ga:".$get_dimensions);
... ...