help with javascript

cheezile

New member
Jun 21, 2009
230
3
0
hey everyone i'm pretty new at web building so i don't know much about javascript yet. anyways i have my tracking202 javascript code, and then i have my clickheat javascript code i was just wondering if i have it in correctly because once i added the clickheat java code my tracking stopped working. anyways here it is
---- my code ----- (wasn't sure how to put in the box sorry)
<script type="text/javascript" src="http://mysite.com/clickheat/js/clickheat.js">
</script><noscript><p><a href="http://www.labsmedia.com/clickheat/index.html">Navigational analysis</a>
</p></noscript><script type="text/javascript"><!-- clickHeatSite = 'www.mysite.com';
clickHeatGroup = 'index';clickHeatServer = 'http://mysite.com/clickheat/click.php';initClickHeat
(); //-->
<script src="tracking202" type="text/javascript"></script>
</body>
</html>
----- end code -------
I'm thinking I need both in the script tag? I just wasn't sure how to do it...
 


Try this -
HTML:
<script type="text/javascript" src="http://mysite.com/clickheat/js/clickheat.js"> 
</script>
<script type="text/javascript">
<!-- clickHeatSite = 'www.mysite.com';
clickHeatGroup = 'index';clickHeatServer = 'http://mysite.com/clickheat/click.php';initClickHeat(); //-->
</script>
<script src="tracking202" type="text/javascript"></script>
</body>
</html>

You needed a </script> in there and I took out the noscript whose only purpose was to backlink to labsmedia.com