Hi All,
I am started working with real-time dashboards using the 1.4 REST API.
I can use the "basic" stuff - but when i try to search for specific pages or the server variable i get into trouble.
Can anyone tell me what is wrong here:
var method ='Report.Run'; |
| |
| var params = { |
| "reportDescription":{ |
| "source": "realtime", |
| "reportSuiteID": config.reportSuite, |
| "dateFrom": "-60 minutes", |
| "dateGranularity": "minute:1", |
| "metrics": [ |
| { "id": "pageviews" } |
| ], "elements": [ |
| { "id": "page","top":"20"} |
| ], |
| "segments": [ |
| { |
| "element": "page", |
| "selected": ["/DA/"] |
| } |
| ], |
| } |
| |
| }; |
...alternatively how i select a specific value for the variable server...pls help me in the right direction.
/Peter