Usage
Theanalytics
class is unique in that it very flexible, but also can require more queries to be used well. Be sure to real the Parameters in detail to understand how it can be used.
The requests
method will sort results by highest number of requests, but will also include bandwidth
values.
Returns
What is returned invalue
will depend on they property or query used. For instance, using cid()
will return CIDs, country()
will return Countries, etc.
Parameters
Filter response with the following additional methods. It does require at least one property, such ascid
, fileName
, userAgent
, country
, region
, or referrer
.
cid
- Type:
string
fileName
- Type:
string
userAgent
- Type:
string
country
- Type:
string
region
- Type:
string
referer
- Type:
string
days
- Type:
number
sort
- Type:
"asc" | "desc"
limit
- Type:
number
customDates
- Type:
string, string
YYYY-MM-DD
from
- Type:
string