PHP Classes

error

Recommend this page to a friend!

      SmartGAPI  >  All threads  >  error  >  (Un) Subscribe thread alerts  
Subject:error
Summary:doesnt work
Messages:2
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:

productosdemo.com.ar/estadisticas.p ...

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:
google.com/analytics/reporting/?res ... <----