BC Website Statistics Feedback

You need to be logged in to post messages in the forums. New users may register here.

Brookins Consulting

Member since:
09 January 2008

Posts: 18

Tuesday 30 October 2007 5:21:43 am

Hello!

We are very proud to offer the BC Website Statistics extension,
http://projects.ez.no/bcwebsitestatistics

Please provide feedback to the community on how the extension works for you and any features you might think would be useful to add.

If this extension is useful to you please write a positive review, http://projects.ez.no/bcwebsitestatistics/reviews

Cheers,
Brookins Consulting

eZ Partner | North American Experience
http://brookinsconsulting.com/experience

Up

Greg McAvoy-Jensen

Member since:
09 January 2008

Posts: 3

Monday 15 June 2009 3:54:22 pm

Thanks for the nice extension!

We've found it useful to add a CDATA tag to /autoloads/bcwebsitestatisticsoperators.php lines 205-214 to use CDATA so the pages can pass through an HTML validator:

$ret .= "\n".'<meta http-equiv="Content-Script-Type" content="text/javascript">'."\n".'<script type="text/javascript" language="Javascript"><![CDATA[if( !window.loaders ) { window.loaders = new Array(0); } if( window.onload ) { window.loaders.push(window.onload); } window.onload = function() { for(var i=0; i < window.loaders.length; i++) { var func = window.loaders[i]; func(); } urchinTracker(); __utmSetTrans(); }]]></script>';
}
else
{
$ret .= "\n".'<script type="text/javascript" language="Javascript"><![CDATA[if( !window.loaders ) { window.loaders = new Array(0); } if( window.onload ) { window.loaders.push(window.onload); } window.onload = function() { for(var i=0; i < window.loaders.length; i++) { var func = window.loaders[i]; func(); } urchinTracker(); }]]></script>';
}
}
else
{
$ret .= "\n".'<script type="text/javascript" language="Javascript"><![CDATA[if( !window.loaders ) { window.loaders = new Array(0); } if( window.onload ) { window.loaders.push(window.onload); } window.onload = function() { for(var i=0; i < window.loaders.length; i++) { var func = window.loaders[i]; func(); } urchinTracker(); }]]></script>';

Greg McAvoy-Jensen
Granite Horizon
Certified Developer of eZ Publish Web Solutions
http://granitehorizon.com | 1 (916) 647-6350 | Elk Grove, California, USA | @granitegreg

Up

You need to be logged in to post messages in the forums. New users may register here.