Is your site Upgraded to the current version 1.5.4 Yet?
zencart-upgrades-website-installation
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
We just launched our site www.aydincoins.com but having trouble with Google Analytics, when I do a view Page Source of our site, I see the code at the bottom of the page, within the body and Google Analytics is still not recognizing the site, it says Tracking is not installed.
Here is the code below from our site, I just Xed the account numbers, the module is working in Zencart.
Any idea?
<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("UA-XXXXXXXX-4");
pageTracker._initData();
<!-- Google Code for AydinCoinsSite Conversion Page -->
<script type="text/javascript">
/* <![CDATA[ */
var google_conversion_id = XXXXXXXXXX;
var google_conversion_language = "en";
var google_conversion_format = "3";
var google_conversion_color = "ffffff";
var google_conversion_label = "hwCECPCW7QIQ3KHj_gM";
var google_conversion_value = 0;
/* ]]> */
</script>
<script type="text/javascript" src="http://www.googleadservices.com/page...n.js">
</script>
<noscript>
<div style="display:inline;">
<img height="1" width="1" style="border-style:none;" alt="" src="http://www.googleadservices.com/page...t=0"/>
</div>
</noscript>
pageTracker._trackPageview();
pageTracker._trackPageLoadTime();
</script>
</body></html>
Well, if you look at the source code on your page and in the G Analytics part it actually, has:
alt=""
Then you're not doin it right.
the " is an html entity replacement for "
I'm not sure what you might have done to convert the "
to ".
but that's broken.
How did you place the UA code into your zencart installation?
When you set up a GA account at Google, it will generate a few lines of code, which it then says need to be pasted into your HTML...
If you use one of the zencart GA modules, you DON'T paste this code anywhere...
All you need is your tracking number.
Describe HOW you configured GA on your site.
20 years a Zencart User