Hi
I wonder if anyone can help. I've been using Google Analytics successfully with Actinic Business 9.00 for a few months now. Today I updated to Actinic Business 9.05 and it's starting bringing up an error message on the homepage, relating to Analytics.
This is the error message:
Message: '_gat' is undefined
Line: 16
Char: 1
Code: 0
URI: http://www.buybrandtools.com/
It relates to this piece of Google Analytics tracking code:
<script type="text/javascript">
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"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("<actinic:variablename="GoogleAnalyticsNumber" />");
pageTracker._initData();
pageTracker._trackPageview(<actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%22Receipt%22">"/receipt.html"</actinic:block>);
</script>
The error message only occurs on the home page even though the tracking code appears on every page on the site.
Can anyone help??
Many Thanks
Jon
I wonder if anyone can help. I've been using Google Analytics successfully with Actinic Business 9.00 for a few months now. Today I updated to Actinic Business 9.05 and it's starting bringing up an error message on the homepage, relating to Analytics.
This is the error message:
Message: '_gat' is undefined
Line: 16
Char: 1
Code: 0
URI: http://www.buybrandtools.com/
It relates to this piece of Google Analytics tracking code:
<script type="text/javascript">
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"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("<actinic:variablename="GoogleAnalyticsNumber" />");
pageTracker._initData();
pageTracker._trackPageview(<actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%22Receipt%22">"/receipt.html"</actinic:block>);
</script>
The error message only occurs on the home page even though the tracking code appears on every page on the site.
Can anyone help??
Many Thanks
Jon
Comment