I think I identified a bug in version 1.2.2 of this mod. I found in AWStats that I'm getting calls to this file on my domain resulting in 404 errors:
/google-analytics.com/ga.js
I guess what it's supposed to do is call http://google-analytics.com/ga.js, right? I searched for the text /google-analytics.com/ga.js in zencart and found the below code in this file:
/home/myaccount/public_html/includes/templates/mytemplate/google_analytics/google_analytics.php
Code:
document.write(unescape(\"%3Cscript src='\" + gaJsHost + \"google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E\"));
Am I interpreting this correctly as what's causing the bug? How should I modify the code to fix it? I'm actually not using the ga.js code any more as of the other day, but perhaps this is what was causing the missing data with ga.js tracking from this mod in the first place.
I'm not sure what store page called the /google-analytics.com/ga.js file, because AWStatus only tells me the referrer was /index.php, which is the index page of my store and could mean any number of pages. But the above is the only code I found that seems to be calling /google-analytics.com/ga.js.
Bookmarks