Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

66217

Guest
Original poster
Jan 30, 2006
1,604
0
For some reason it is not working.

I made my site in Dreamweaver, so I uploaded the site manually. The site is up and working correctly, but Google Analytics doesn't seems to recognize it. Is this a problem with MobileMe hosting service?


Thanks.
 

66217

Guest
Original poster
Jan 30, 2006
1,604
0
I do know how to insert the script to the code. My question was more regarding if MobileMe as host supports Google Analytics. Seeing there is an Automator app, then I guess the answer is yes.:)

It seems to have recognized the site, I had to put the older scrip Google gave you. But, it doesn't detect visits made to the site.

Code:
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
try {
_uacct = "UA-4894296-3";
urchinTracker();
} catch(err) {}</script>

This one, which is the newest one they give you, doesn't work.

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">
try {
var pageTracker = _gat._getTracker("UA-4894296-3");
pageTracker._trackPageview();
} catch(err) {}</script>
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.