Skip to content

4. Using avaliable methods

Akki Khare edited this page Feb 14, 2022 · 5 revisions

Get total users

public function getTotalUsers(Period $period): int

Get total users by date

public function getTotalUsersByDate(Period $period): array

Get total users by session source

public function getTotalUsersBySessionSource(Period $period): array

Get most users by date

public function getMostUsersByDate(Period $period, int $count = 20): array

Get most users by session source

public function getMostUsersBySessionSource(Period $period, int $count = 20): array

Get total users by country

public function getTotalUsersByCountry(Period $period): array

Get total users by city

public function getTotalUsersByCity(Period $period): array

Get total users by gender

public function getTotalUsersByGender(Period $period): array

Get total users by language

public function getTotalUsersByLanguage(Period $period): array

Get total users by age

public function getTotalUsersByAge(Period $period): array

Get most users by country

public function getMostUsersByCountry(Period $period, int $count = 20): array

Get most users by city

public function getMostUsersByCity(Period $period, int $count = 20): array

Get most users by language

public function getMostUsersByLanguage(Period $period, int $count = 20): array

Get most users by age

public function getMostUsersByAge(Period $period, int $count = 20): array

Get average session duration

public function getAverageSessionDuration(Period $period): float

Get average session duration by date

public function getAverageSessionDurationByDate(Period $period): array

Get total views

public function getTotalViews(Period $period): int

Get total views by date

public function getTotalViewsByDate(Period $period): array

Get total views by page

public function getTotalViewsByPage(Period $period): array

Get total views by page and user

public function getTotalViewsByPageAndUser(Period $period): array

Get most views by page

public function getMostViewsByPage(Period $period, int $count = 20): array

Get most views by user

public function getMostViewsByUser(Period $period, int $count = 20): array

Get total new and returning users

public function getTotalNewAndReturningUsers(Period $period): array

Get total new and returning users by date

public function getTotalNewAndReturningUsersByDate(Period $period): array

Get total users by platform

public function getTotalUsersByPlatform(Period $period): array

Get total users by operating system

public function getTotalUsersByOperatingSystem(Period $period): array

Get total users by browser

public function getTotalUsersByBrowser(Period $period): array

Get total users by screen resolution

public function getTotalUsersByScreenResolution(Period $period): array

Get most users by platform

public function getMostUsersByPlatform(Period $period, int $count = 20): array

Get most users by operating system

public function getMostUsersByOperatingSystem(Period $period, int $count = 20): array

Get most users by browser

public function getMostUsersByBrowser(Period $period, int $count = 20): array

Get most users by screen resolution

public function getMostUsersByScreenResolution(Period $period, int $count = 20): array