This repository has been archived by the owner on Mar 30, 2021. It is now read-only.
Real time API and reporting granularity
Alexis Cazes edited this page Oct 18, 2016
·
3 revisions
When you run a real-time API you might need to extract the real-time data for the past X minutes only displayed by blocks of X minutes.
Realtime reports support Relative dates
To do so you need to use the following:
- "dateGranularity":"minute:1"
- In this example we say that we want to report the data by 1 minute interval.
- "dateFrom": "-5 minute"
- In this example we say that we want the reporting period to start 5 minutes ago
- "dateTo": "now"
- In this example we say we want the reporting period to end right now.
Lets say that I set up a real-time report in Adobe Analytics using elements page and site section and I want to report for the past 5 minutes by interval of 1 minutes all data from site section Iphone for classification of page testClassification then it will look as follow
{
"reportDescription": {
"reportSuiteID": "[MY REPORT SUITE ID]",
"dateGranularity": "minute:5",
"dateFrom": "-5 minute",
"dateTo": "now",
"metrics": [{
"id": "pageviews"
}],
"elements": [{
"id": "sitesection",
"search": {
"type": "AND",
"keywords": [
"iphone"
]
}
},{
"id": "page",
"classification": "testClassification",
"search": {
"type": "NOT",
"keywords": [
"unspecified"
]
}
}
],
"source": "realtime"
}
}
- How to implement multiple instance of Adobe Analytics with one library
- Track Iframes without referencing Adobe Analytics code in the iframe
- How to implement Adobe Analytics with Ruby on Rails
- variableOverrides JavaScript
- Data Insertion API for Adobe Analytics.
- Reporting API: Report Breakdown for specific item. Skip to end of metadata
- Real time API and reporting granularity
- Adobe Analytics: performanceTiming plugin
- Custom s.Util.getQueryParam: take into account fragment in URL
- PhoneGap android app and Adobe Mobile Services
- Xamarin and Adobe Mobile Services plugin
- Mobile and Visitor IDs