Usage
QueueTrended(reportSuiteID, dateFrom, dateTo, dateGranularity, metric, element,
top = "", startingWith = "", selected = "", segment_id = "",
anomalyDetection = "", currentData = "", searchType = "",
searchKW = "", maxTries = 120, waitTime = 5)
Arguments
reportSuiteID
Report Suite ID
dateFrom
Report Start Date in "YYYY-MM-DD" format
dateTo
Report End Date in "YYYY-MM-DD" format
dateGranularity
"Day", "Week", "Month", "Quarter"
or "Year" (case-insensitive).
metric
The metric you want to trend.
element
The element (page, browser eVar, prop) for
the report to be broken down by.
top
How many results you want trended. Used in
combination with "startingWith". Not used if "selected"
argument used.
startingWith
The first ranked number you want in
the report. Used in combination with "top". Not used if
"selected" argument used.
selected
List of selected values, such as specific
pages or eVar values. Not used if "top" and
"startingWith" arguments are used
segment_id
Optional. If no segment_id is
specified, metrics will be reported for all visitors.
anomalyDetection
Optional. Use value of "1" to get
anomaly detection results. Results only returned by API
for 'Day' granularity.
currentData
Optional. Use value of "1" to get
current data results. Only needed when dateTo is greater
than or equal to the current day.
searchType
Optional. An enumerated list of boolean
values used to link multiple search terms in a report
search. Takes values of "AND", "OR" or "NOT".
searchKW
Optional. A list of keywords to include
or exclude from the search, based on the searchType.
Keyword values can also leverage the following special
characters: '*' (Wild card), '^' (Starts With), '$' (Ends
With). "Top" argument required when using
maxTries
Optional. Provide integer value for the
max number of API attempts you want to try retrieve the
report before function errors out. Defaults to 120.
waitTime
Optional. Provide integer value for the
number of seconds between tries to API to try retrieve
the report. Defaults to 5 seconds.