Mxater Posted June 19, 2014 Share Posted June 19, 2014 GAPI module not working, I configure module in v3.0 mode and the data correctly, but I get in green "Google API Authorization granted" and in red "Cannot retrieve test results", I check the data send from analytics to my web, and I receibe this: {"kind":"analytics#gaData","id":"https://www.googleapis.com/analytics/v3/data/ga?ids=ga:XXXXXXXX&metrics=ga:visits,ga:uniquePageviews&sort=ga:visits,ga:uniquePageviews&start-date=2014-06-18&end-date=2014-06-18&start-index=1&max-results=1","query":{"start-date":"2014-06-18","end-date":"2014-06-18","ids":"ga:XXXXXXXX","dimensions":"","metrics":["ga:visits","ga:uniquePageviews"],"sort":["ga:visits","ga:uniquePageviews"],"start-index":1,"max-results":1},"itemsPerPage":1,"totalResults":0,"selfLink":"https://www.googleapis.com/analytics/v3/data/ga?ids=ga:XXXXXXXX&metrics=ga:visits,ga:uniquePageviews&sort=ga:visits,ga:uniquePageviews&start-date=2014-06-18&end-date=2014-06-18&start-index=1&max-results=1","profileInfo":{"profileId":"XXXXXXXX","accountId":"XXXXXXXX","webPropertyId":"UA-XXXXXXXX-1","internalWebPropertyId":"XXXXXXXX","profileName":"Todos los datos de sitios web","tableId":"ga:XXXXXXXX"},"containsSampledData":false,"columnHeaders":[{"name":"ga:visits","columnType":"METRIC","dataType":"INTEGER"},{"name":"ga:uniquePageviews","columnType":"METRIC","dataType":"INTEGER"}],"totalsForAllResults":{"ga:visits":"0","ga:uniquePageviews":"0"[spam-filter] but gapi module check for if (isset($response['rows']) && is_array($response['rows'])) How fix it? Link to comment Share on other sites More sharing options...
Recommended Posts