View Single Post
  #10 (permalink)  
Old 11-19-2008, 04:00 PM
Dubbya's Avatar
Dubbya Dubbya is offline
WebProWorld 1,000+ Club
WebProWorld MVP
 
Join Date: Nov 2006
Location: Steinbach, Manitoba, Canada
Posts: 1,298
Dubbya RepRank 4Dubbya RepRank 4Dubbya RepRank 4Dubbya RepRank 4Dubbya RepRank 4
Default Re: Ecommerce shows unsecured items

The "done but with errors on the page" indicates a JavaScript error.

If you view the page source in your browser, you'll find a Javascript error on line 12, right where your Google Urchin code is.

You're using the old version of Google's analytics tracking code.

Here's the new code for a ecommerce site:
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("UA-xxxxxx-x");
pageTracker._trackPageview();
</script>
More troubleshooting and installation information here:
old code:
How can I confirm that I've entered the tracking code correctly on my pages? - Google Analytics Help Center

New code:
How can I confirm that I've entered the tracking code correctly on my pages? - Google Analytics Help Center
Reply With Quote