Deprecated: Assigning the return value of new by reference is deprecated in /customers/ajaxorized.com/ajaxorized.com/httpd.www/wp-includes/cache.php on line 36

Deprecated: Assigning the return value of new by reference is deprecated in /customers/ajaxorized.com/ajaxorized.com/httpd.www/wp-includes/query.php on line 15

Deprecated: Assigning the return value of new by reference is deprecated in /customers/ajaxorized.com/ajaxorized.com/httpd.www/wp-includes/theme.php on line 505

Deprecated: Assigning the return value of new by reference is deprecated in /customers/ajaxorized.com/ajaxorized.com/httpd.www/wp-content/plugins/CodeHighlighter/codehighlighter.php on line 42

Warning: Cannot modify header information - headers already sent by (output started at /customers/ajaxorized.com/ajaxorized.com/httpd.www/wp-includes/cache.php:36) in /customers/ajaxorized.com/ajaxorized.com/httpd.www/wp-commentsrss2.php on line 8
Comments on: Include Google Analytics in your static HTML website http://ajaxorized.com/include-google-analytics-in-your-static-html-website/ Web Innovation Sun, 01 Aug 2010 00:39:15 +0000 http://wordpress.org/?v=2.1.3 By: Marco de Moulin http://ajaxorized.com/include-google-analytics-in-your-static-html-website/#comment-153 Marco de Moulin Wed, 23 Jan 2008 15:30:20 +0000 http://ajaxorized.com/include-google-analytics-in-your-static-html-website/#comment-153 Google Analytics is using a new script for even more advanced features. I adjusted the script for the ga.js code. Don't forget to change the UA-code. ", " var gaJsHost = ((\"https:\" == document.location.protocol) ? \"https://ssl.\" : \"http://www.\"); document.write(unescape(\"%3Cscript src='\" + gaJsHost + \"google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E\")); var pageTracker = _gat._getTracker(\"UA-1808705-3\"); pageTracker._initData(); pageTracker._trackPageview(); ", $sData); echo $sData; ?> Google Analytics is using a new script for even more advanced features. I adjusted the script for the ga.js code. Don’t forget to change the UA-code.

“, ”

var gaJsHost = ((\”https:\” == document.location.protocol) ? \”https://ssl.\” : \”http://www.\”);
document.write(unescape(\”%3Cscript src=’\” + gaJsHost + \”google-analytics.com/ga.js’ type=’text/javascript’%3E%3C/script%3E\”));

var pageTracker = _gat._getTracker(\”UA-1808705-3\”);
pageTracker._initData();
pageTracker._trackPageview();

“, $sData);
echo $sData;
?>

]]>