Javascript Customizations messing up
DodgeV83
Registered Users Posts: 379 Major grins
This has only been happening for about a week or so. I've been using SiteMeter for my counter at the top of the screen, but since last week the counter keeps going away! The only way to get it back is to go into my customization settings and change ANYTHING. Even if I change something in the comments, the counter will come back up for a little while, but it always goes down again.
For example. (I ***ed out my username***). Look at the last line, the word Endspan should not effect the code, but if I change it to Endpan, my counter comes back up! Whats the deal?
<!--WEBBOT bot="HTMLMarkup" startspan ALT="Site Meter" -->
<script type="text/javascript" language="JavaScript">var site="******"</script>
<script type="text/javascript" language="JavaScript1.2" src="http://s15.sitemeter.com/js/counter.js?site=*******">
</script>
<noscript>
<a href="http://s15.sitemeter.com/stats.asp?site=******" target="_top">
<img src="http://s15.sitemeter.com/meter.asp?site=******" alt="Site Meter" border="0"/></a>
</noscript>
<!-- Copyright (c)2005 Site Meter -->
<!--WEBBOT bot="HTMLMarkup" Endspan -->
For example. (I ***ed out my username***). Look at the last line, the word Endspan should not effect the code, but if I change it to Endpan, my counter comes back up! Whats the deal?
<!--WEBBOT bot="HTMLMarkup" startspan ALT="Site Meter" -->
<script type="text/javascript" language="JavaScript">var site="******"</script>
<script type="text/javascript" language="JavaScript1.2" src="http://s15.sitemeter.com/js/counter.js?site=*******">
</script>
<noscript>
<a href="http://s15.sitemeter.com/stats.asp?site=******" target="_top">
<img src="http://s15.sitemeter.com/meter.asp?site=******" alt="Site Meter" border="0"/></a>
</noscript>
<!-- Copyright (c)2005 Site Meter -->
<!--WEBBOT bot="HTMLMarkup" Endspan -->
0
Comments
Sebastian
SmugMug Support Hero
Could it be conflicting with the statcounter code you also use?
Portfolio • Workshops • Facebook • Twitter
- everyone needs to do this, it helps those that can help you. I had to search for it...
Portfolio • Workshops • Facebook • Twitter
http://frelow.smugmug.com
And so, I'm curious - why statcounter and the other at the same time? Could that be it?
Portfolio • Workshops • Facebook • Twitter
Then why not get rid of StatCounter all together? It gives me some details that sitemeter doesn't, including Returning Visitors, Hostname and nicer graphs.
I fixed the title thanks.
Portfolio • Workshops • Facebook • Twitter
Therefore you can't put any html-tags into the JavaScript-section.
Just move your sitemeter code also to the footer like you did with the statcounter code.
Hope this helps,
Sebastian
SmugMug Support Hero
The only way I can get the counter on the top of the screen is by putting it in the Header section, but that gets rid of the Smugmug header!
Is there anyway to get this counter on top without getting rid of the Smugmug header? Maybe I can manually put the Smugmug header information in there? Any tips?
Stand by and lemme have a look at it ok?
Portfolio • Workshops • Facebook • Twitter
I've checked again, and the answer is, just as it says on your co-branding page, when you put something in the header section, that replaces our header with yours. Maybe this is a good time to build your own header, incorporating webbot, and then you can have the best of both worlds? Let us know if we can help
Portfolio • Workshops • Facebook • Twitter
So coupla things: I use statcounter, but i have it invisible. Since you like webbot for its accuracy, maybe make SC invisible, and put webbot in your footer? Then you'd be all set, having both utilities running...
Your alternate suggestion is possible, but you'd loose the dynamic nature of the smugmug header - logged in/out, etc...
Portfolio • Workshops • Facebook • Twitter