Open GoogleCodeExporter opened 9 years ago
Here's my fix on line around 117 of the class file. Works like a charm when no
dimensions are set. The only thing I changed was in the else statement,
commenting out the old line and replacing it with "$parameters['dimensions'] =
NULL;"
if(is_array($dimensions))
{
$dimensions_string = '';
foreach($dimensions as $dimesion)
{
$dimensions_string .= ',ga:' . $dimesion;
}
$parameters['dimensions'] = substr($dimensions_string,1);
}
else
{
$parameters['dimensions'] = NULL;
#$parameters['dimensions'] = 'ga:'.$dimensions;
}
Original comment by aaron.crawford@gmail.com
on 29 Feb 2012 at 12:50
oh, and in the request method/function if you don't have any dimensions just
use NULL
Original comment by aaron.crawford@gmail.com
on 29 Feb 2012 at 12:52
Original issue reported on code.google.com by
Harmonic...@gmail.com
on 27 Aug 2009 at 5:29