Commit d756f913abf3685afd0175efcb5635e4a8519211
1 parent
494f8aac
ga output
Showing
1 changed file
with
1 additions
and
2 deletions
Show diff stats
app/library/App/Controllers/GaController.php
... | ... | @@ -38,8 +38,7 @@ class GaController extends CrudResourceController { |
38 | 38 | if (true) { |
39 | 39 | $projects = Project::find(['user_id' => $user_id]); |
40 | 40 | foreach ($projects as $project) { |
41 | - //$view_id = $project->ga_view_id; | |
42 | - $view_id = '119240817'; | |
41 | + $view_id = string($project->ga_view_id); | |
43 | 42 | $result[] = $this->sendGaRequest($view_id, $get_metrics, $get_dimensions, $get_start_date, $get_end_date); |
44 | 43 | } |
45 | 44 | } | ... | ... |