Strange malfunction: Analytics tracking code visible

Permalink
Hey all, my website: thepetkeeper.in (don't add www., needs fixing) is displaying the google analytics tracking code I've added to it at the bottom, why is this occuring?

 
ConcreteOwl replied on at Permalink Reply
ConcreteOwl
Have you wrapped it in script tags?
ConcreteOwl replied on at Permalink Best Answer Reply
ConcreteOwl
Actually, I see from the source you have no opening script tag,
Putt this
<script type="text/javascript">
before
var _gaq = _gaq || [];
JD46 replied on at Permalink Reply
Umm it seems so, here what I see:

var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-37031438-1']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })();

Is this incorrect?
JD46 replied on at Permalink Reply
Thanks weyboat! I just got the code from google again :D And it worked fine so your were right, I must've deleted something by mistake

This website stores cookies on your computer. These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media. To find out more about the cookies we use, see our Privacy Policy.