Sign in to Community
Sign in to view all badges
I have been trying to fetch the Exits metrics using Reporting API for Ranked Reports .. But didn't work.
Couple of ?s on this:
Question 1: Could I get the Exits metric for the below breakdowns(elements)?
reportDescription reportDesc = new reportDescription();
// Set the ReportSuiteID reportDesc.reportSuiteID = "questdsgsupportStage";
reportDesc.date = "2014-06-05";
// Set the Metrics reportDesc.metrics = new reportDefinitionMetric;
reportDesc.metrics = new reportDefinitionMetric(); reportDesc.metrics.id = "Exits";
// Set the Elements reportDesc.elements = new reportDefinitionElement;
reportDesc.elements = new reportDefinitionElement(); reportDesc.elements.id = "Page"; reportDesc.elements.startingWith = 1; reportDesc.elements.top = 20;
reportDesc.elements = new reportDefinitionElement(); reportDesc.elements.id = "prop4"; // locale (Custom defined Element)
reportDesc.elements = new reportDefinitionElement(); reportDesc.elements.id = "Prop32"; // Page Location (Custom defined element)
reportDesc.elements = new reportDefinitionElement(); reportDesc.elements.id = "Prop22"; // Product (Custom defined element)
But it didn't throw any exception. But APIs returns Zero for all the rows(around 2000) for Exits metric.
Question 2: Since the above option didn't return the desired results so tried another option. Tried adding additional element named Exit Pages as the last element (breakdown) in the
elements list along with the other breakdowns(Page / Page Location / Product / Locale) and add the PageViews as metrics to get the exits...
But Reporting APIs throws an Status as 'Invalid Element (Exit Page)..
I had tried to give "PageExits" / "PageExit"' / "ExitPages" / "ExitPage" / Exit_Page - but didn't work. It keep saying that its an invalid element..
Please suggest me how I could get the exits metrics for Ranked Reports using Reporting APIs.
Thanks in Advance,Rama
Since this is an older post, I'll assume you were able to solve this issue. If others find this post, please refer to the latest documentation - https://www.adobe.io/apis/experiencecloud/analytics/docs.html