Login   Register  
PHP Classes


Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      SmartGAPI  >  All threads  >  error  >  (Un) Subscribe thread alerts  
Summary:doesnt work
Author:Silvia Rodriguez Calvo
Date:2011-04-07 14:11:24
Update:2011-04-07 19:31:18

  1. error   Reply   Report abuse  
Picture of Silvia Rodriguez Calvo
Silvia Rodriguez Calvo
2011-04-07 14:11:24
I follow the instruction but I got this message:


Fatal error: Uncaught exception 'Exception' with message 'GAPI: Failed to request report data. Error: "Invalid value for ids parameter: ga:UA-8795332-10"' in /www/docs/productosdemo.com.ar/public_html/utils/gapi.class.php:219 Stack trace: #0 /www/docs/productosdemo.com.ar/public_html/utils/request.php(22): gapi->requestReportData('UA-8795332-10', Array, Array, NULL, NULL, '2011-03-01', '2011-04-07') #1 {main} thrown in /www/docs/productosdemo.com.ar/public_html/utils/gapi.class.php on line 219

what did I do wrong?

  2. Re: error   Reply   Report abuse  
Picture of Michele Andreoli
Michele Andreoli
2011-04-07 19:31:18 - In reply to message 1 from Silvia Rodriguez Calvo
This error refers to a wrong ID. The correct ID is composed by 8 numbers. You can find this code in the address bar when you load a report from Google Analitycs. For Example:
https://www.google.com/analytics/reporting/?reset=1&id=36208 ... <----