kalnyc67 / analytics-issues

Automatically exported from code.google.com/p/analytics-issues
0 stars 0 forks source link

gaGoalConversion returning 0 since 7/22/14 #470

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
---------------------------------------------------------------------------
NOTE: This issue tracking system is for Google Analytics developer products
only.
If you are not a developer/programmer visit:
http://www.google.com/analytics/support.html
---------------------------------------------------------------------------
Name of affected component: Core Reporting API

Javascript Library

Issue summary:
Since July 22/2014 the Core Reporting API is returning 0 results for 
ga:goalXXCompletions. If I search retroactively for the last year, it still 
returns 0 results for URL's that previously had 100's of results.

Steps to reproduce issue:
1.Login as twilio.com admin. jreyes@twilio.com in my case.
2.Query core reporting api with the following params -> ga:goal1Completions, 
ga:goal11Completions,
3.Inspect response, see 0 for all responses.

Expected output:
100's of results.

Actual results:
0 results.

Notes:
Other metrics are returning as expected in the same api call. All goal 
conversions are not. 
Code Sample:

function queryCoreReportingApi(profileId, time) {
  if (time) {
    days = time;
  }
  outputToPage('Querying Core Reporting API.');
  gapi.client.analytics.data.ga.get({
    'ids': 'ga:' + profileId,
    'start-date': lastNDays(days),
    'end-date': lastNDays(0),
    'metrics': 'ga:visitors, ga:pageviews, ga:goal1Completions, ga:goal11Completions, ga:avgTimeOnPage',
    'dimensions': 'ga:pagePath',
    'sort': '-ga:visitors',
    'filters': 'ga:pagePath=@blog',
    'max-results': maxResults,
  }).execute(handleCoreReportingResults);
}

Original issue reported on code.google.com by jre...@twilio.com on 30 Jul 2014 at 5:51