Skip to main content

Evolution

Overview​

The evo parameter describes the context of the evolution analysis, allowing you to track how your data changes over time with specific granularity and element selection.

Parameters​

ParameterDescriptionValuesRequired
granularityTime granularity for the evolutionM (Month), W (Week), D (Day), H (Hour)Yes
topConfiguration for selecting top elements based on period, pagination and sortingObject (see below)Yes

Top Parameters​

ParameterDescriptionValuesRequired
max-resultsMaximum number of results to returnIntegerNo
page-numPage number for paginationIntegerNo
sortSort by metricsArray of metric namesNo

Examples​

Example 1: Monthly evolution with top elements​

{
"evo": {
"granularity": "M",
"top": {
"max-results": 10,
"page-num": 1,
"sort": ["-m_visits"]
}
},
"space": {
"s": [123456789]
}
}

Example 2: Daily evolution for multiple sites​

{
"evo": {
"granularity": "D",
"top": {
"max-results": 20,
"sort": ["-m_visits", "m_users"]
}
},
"space": {
"s": [123456789, 1234567890]
}
}