Метод |
Описание |
|
getCity ( integer | string $idSite, string $period, string $date, string | boolean $segment = false ) : DataTable |
Returns visit information for every city with at least one visit. |
|
getContinent ( $idSite, $period, $date, $segment = false ) |
|
|
getCountry ( $idSite, $period, $date, $segment = false ) |
|
|
getLocationFromIP ( string $ip, boolean | string $provider = false ) : array | false |
Uses a location provider to find/guess the location of an IP address. |
|
getNumberOfDistinctCountries ( $idSite, $period, $date, $segment = false ) |
|
|
getRegion ( integer | string $idSite, string $period, string $date, string | boolean $segment = false ) : DataTable |
Returns visit information for every region with at least one visit. |
|
setLocationProvider ( string $providerId ) |
Set the location provider |
|