an ASP.NET Open Source CMS & eCommerce platform
Search:
Skip Navigation LinksHome > DotShoppingCart Forums > Support > Installation > Google Analytics Setup?
Last Post 5/6/2008 2:53:33 PM By lukezy. 1 replies.
5/6/2008 2:45:16 PM
rampar
Posts: 32
Joined: 4/23/2008
Google Analytics Setup?

I tried following the instructions on Google Analytics Help, but it says paste this code inside a analytics.asp and then #include it on the default.aspx page. But whenever I do that it errors out.  Has anyone been able to do this?

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-######-#");
pageTracker._initData();
pageTracker._trackPageview();
</script>

5/6/2008 2:53:33 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Google Analytics Setup?

Enable page editor on the homepage. Edit the footer html block and go to "Source" mode. Copy and paste javascript code there.

DotShoppingCart Staff