Skip to content

Commit

Permalink
Merge pull request #358 from dragoscimpean/master
Browse files Browse the repository at this point in the history
Create getter for $viewId in Analytics Class
  • Loading branch information
riasvdv committed Jun 26, 2020
2 parents c9eaa9a + fd50ed8 commit 6356b7c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Analytics.php
Expand Up @@ -40,6 +40,11 @@ public function setViewId(string $viewId)
return $this;
}

public function getViewId()
{
return $this->viewId;
}

public function fetchVisitorsAndPageViews(Period $period): Collection
{
$response = $this->performQuery(
Expand Down

0 comments on commit 6356b7c

Please sign in to comment.