SDITools / adobeanalyticsr

R Client for Adobe Analytics API v2.0
Other
18 stars 9 forks source link

Segment Comparison Venn Diagram QV #40

Open benrwoodard opened 3 years ago

benrwoodard commented 3 years ago

This would be fairly straightforward as it would be limited to an expected 2 dimensions and return results in a single line of data that could be turned into a venn diagram of some kind along with the data for review.

Sample request: { "rsid": "ageo1xxpnwsdi2020prod", "globalFilters": [ { "type": "dateRange", "dateRange": "2020-10-26T00:00:00.000/2020-11-25T00:00:00.000" } ], "metricContainer": { "metrics": [ { "columnId": "metrics/visitors:::0", "id": "metrics/visitors", "filters": [ "0" ] }, { "columnId": "metrics/visitors:::1", "id": "metrics/visitors", "filters": [ "1" ] }, { "columnId": "metrics/visitors:::2", "id": "metrics/visitors", "filters": [ "2", "3" ] } ], "metricFilters": [ { "id": "0", "type": "segment", "segmentId": "Mobile_Hits" }, { "id": "1", "type": "segment", "segmentId": "First_Time_Visits" }, { "id": "2", "type": "segment", "segmentId": "Mobile_Hits" }, { "id": "3", "type": "segment", "segmentId": "First_Time_Visits" } ] }, "settings": { "countRepeatInstances": true }, "statistics": { "functions": [ "col-max", "col-min" ] } }