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

mtfield

macrumors 6502
Original poster
Jan 9, 2008
420
0
I'm working on revamping my website, and I'm adding a web app that I found. The instructions told me to copy the code (below) and paste it into my html box on my website. My question is do I leave in the top and bottom line about "<!-- Start/end of StatCounter Code -->" or should i just copy the text in between? thanks!

<!-- Start of StatCounter Code -->
<script type="text/javascript">
var sc_project=3861419;
var sc_invisible=1;
var sc_partition=31;
var sc_click_stat=1;
var sc_security="24c52494";
</script>

<script type="text/javascript" src="http://www.statcounter.com/counter/counter.js"></script><noscript><div class="statcounter"><a href="http://www.statcounter.com/" target="_blank"><img class="statcounter" src="http://c32.statcounter.com/3861419/0/24c52494/1/" alt="website hit counter" ></a></div></noscript>
<!-- End of StatCounter Code -->
 
The <!-- .... --> are just HTML comments and do no have any effect on your layout. You may want to keep them just so it's easier to identify that code later down the road when you're reworking the code. You'd be surprised how easy it is to forget what some piece of code is for.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.