-
Stats for new website from statcounter - how do i insert html code in correct place?
Was thinking of using statcounter - which looks quite good according to reviews - but I don't do html - so
their instruction is
"6.It's very important to install StatCounter in the correct place on your website i.e. just inside the closing "body" tag - </body> - as indicated below. Simply copy and paste your StatCounter code into this position on each page of your website. Don't forget to save your changes. "
How do i get to paste the code where its needed plse. It will be hidden - I hope - so no probs about format etc
FYI code is
<!-- Start of StatCounter Code for Default Guide -->
<script type="text/javascript">
var sc_project=7788527;
var sc_invisible=0;
var sc_security="af8d3d36";
</script>
<script type="text/javascript"
src="http://www.statcounter.com/counter/counter.js"></script>
<noscript><div class="statcounter"><a title="tumblr tracker"
href="http://statcounter.com/tumblr/" target="_blank"><img
class="statcounter"
src="http://c.statcounter.com/7788527/0/af8d3d36/0/"
alt="tumblr tracker"></a></div></noscript>
<!-- End of StatCounter Code for Default Guide -->
Thanks again for your help
Jillie
-
1 Attachment(s)
Re: Stats for new website from statcounter - how do i insert html code in correct pla
Like so.
The site counter is not invisible and shows top left of the screen.
-
Re: Stats for new website from statcounter - how do i insert html code in correct pla
best way is to make small rectangle - right click on it - web properties - placeholder - then click the box that says "HTML code (body) then paste the code in there - then click ok --- click apply -
then you can move the rectangle where you want the counter to appear :-)
-
Re: Stats for new website from statcounter - how do i insert html code in correct pla
Thanks for that - but i'd prefer it to be invisible - is that possible??
-
Re: Stats for new website from statcounter - how do i insert html code in correct pla
Quote:
<!-- Start of StatCounter Code for Default Guide -->
<script type="text/javascript">
var sc_project=7788527;
var sc_invisible=0;
var sc_security="af8d3d36";
</script>
<script type="text/javascript"
src="http://www.statcounter.com/counter/counter.js"></script>
<noscript><div class="statcounter"><a title="tumblr tracker"
href="http://statcounter.com/tumblr/" target="_blank"><img
class="statcounter"
src="http://c.statcounter.com/7788527/0/af8d3d36/0/"
alt="tumblr tracker"></a></div></noscript>
<!-- End of StatCounter Code for Default Guide -->
Change the above red line to;
var sc_invisible=1;
-
Re: Stats for new website from statcounter - how do i insert html code in correct pla
Wow that's quick - thank you. Statcounter were insistant that the code went after the 'body tag' - will this solution comply with that??
-
Re: Stats for new website from statcounter - how do i insert html code in correct pla
Yes, I think it will.
However, if the stat counter is invisible, how will you know how many hits you have gotten.
I think Google Analytics is a much better solution and gives you a lot more information.
-
Re: Stats for new website from statcounter - how do i insert html code in correct pla
Google Analytics sounds a lot more complex - too much for me - you'll have gathered i'm not into the joys of web design - just want to get the darned thing done. Statcounter sends you a good digest of info every week - will give usual things like users numbers, plus web page views and also such things as search terms used to find site, location of viewers, etc - sounds like enough for me - looked at the google stuff and took fright!! What a wimp
-
Re: Stats for new website from statcounter - how do i insert html code in correct pla
Quote:
Originally Posted by
jillie
Wow that's quick - thank you. Statcounter were insistant that the code went after the 'body tag' - will this solution comply with that??
What I suggest doesn't change the position in the HTML, only the visibility.
@Gary: You don't need the counter visible on the page to a) Get the reports auto emailed from Statcounter or b) Log onto your SC account and view them
-
Re: Stats for new website from statcounter - how do i insert html code in correct pla
Just had a look at stat counter after seeing this thread, installed on site and all working thanks to you guys. again i found google analytics very complex to understand due to my lack of website coding knowledge, but stat counter seems alot easier to understand.
-
Re: Stats for new website from statcounter - how do i insert html code in correct pla
Terms and conditions state "You agree not to change the StatCounter.com counter code that you will insert on your site." So be careful!
-
Re: Stats for new website from statcounter - how do i insert html code in correct pla
Miko - Since the stat counter is a paid service, and does not carry advertising, I can't imagine that editing the code to make the counter invisible would be a problem.
-
Re: Stats for new website from statcounter - how do i insert html code in correct pla
The Terms Of Use doesn't distinguish between Free or Paid for service so I guess they apply across the board. I just thought that I would post a warning.
-
Re: Stats for new website from statcounter - how do i insert html code in correct pla
Quote:
Originally Posted by
Miko
Terms and conditions state "You agree not to change the StatCounter.com counter code that you will insert on your site." So be careful!
I inserted statcounter without changing any code and it's invisible. When you set it up you can tick a box for it to be invisible or not.
-
Re: Stats for new website from statcounter - how do i insert html code in correct pla
Which would in essence then make the same code modification that Sledger suggested.
No harm, no foul!
-
Re: Stats for new website from statcounter - how do i insert html code in correct pla
[QUOTE=Sledger Change the above red line to;
var sc_invisible=1; .[/QUOTE]
I've done this - but also ticked invisible originally - do I need to change it back to 0? I'm getting some stats - bu ti think its just from u guys and i know other people have been on the site.
If I do need to change - how do i get at the code - i'm scared?????
-
Re: Stats for new website from statcounter - how do i insert html code in correct pla
@Miko: You can set the counter as invisible or not at statcounter or simply change the flag in the code - either way. No breach.
@Jillie: '0' means off, '1' means on. IOW: '0' shows the counter and '1' doesn't.
Quote:
If I do need to change - how do i get at the code
See post#2
-
Re: Stats for new website from statcounter - how do i insert html code in correct pla
Quote:
Originally Posted by
sledger
@Miko: You can set the counter as invisible or not at statcounter or simply change the flag in the code - either way. No breach.
@Jillie: '0' means off, '1' means on. IOW: '0' shows the counter and '1' doesn't.
spot on sledger.
and jillie don't worry about changing the code. what sledger told you to amend is exactly how mine is and i used the code stat counter provided for my invisible counter.
-
Re: Stats for new website from statcounter - how do i insert html code in correct pla
oh you guys are so brill - tx a mille - i'm doing the site for a friend and its turning into more of an adventure than we thought - so tx for all the support and help -much appreciated
-
Re: Stats for new website from statcounter - how do i insert html code in correct pla
hi yes if you click on index page to make it active - then click on the blue globe (web properties) - click on page - then HTML body - you will find your code
:-)) - - - - soz couldnt email you - google playing up at mo .