Board index PBase HTML and Style Sheets adding sitemeter.com counter to my pbase site

HTML and Style Sheets

adding sitemeter.com counter to my pbase site

Customize your galleries.
richards1052
 
Posts: 67

Re: Try this!

Post Fri Sep 19, 2003 5:46 pm


nacef wrote:You forgot a '\' symbol in the source link. Try this code:

Code: Select all
<!--WEBBOT bot="HTMLMarkup" startspan ALT="Site Meter" -->

<script type="text/javascript" language="JavaScript1.2" src="http://sm9.sitemeter.com/js/counter.js?site=sm9pbase">
</script>

<a href="http://sm9.sitemeter.com/stats.asp?site=sm9pbase" target="_top">
<img src="http://sm9.sitemeter.com/meter.asp?site=sm9pbase" alt="Site Meter" border=0></a>

<!-- Copyright (c)2002 Site Meter -->
<!--WEBBOT bot="HTMLMarkup" Endspan -->


Nacef: You're beautiful, man! I just tried your code and it now works perfectly. I bet that missing '\' is also missing in the orginal code I copied from the sitemeter.com site. I should let them know that.

The link corrrectly resolves to the sitemeter site. I'm assuming that removing the noscript tags will have no effect on the code's ability to correctly record my hit data.
Richard
http://www.pbase.com/richards1052/ Into the Great Wide Open

http://www.richardsilverstein.com/ Tikun Olam: Make the World a Better Place (weblog)

srijith
Moderator
 
Posts: 2321
Location: Amsterdam

Re: Try this!

Post Sat Sep 20, 2003 12:18 am


richards1052 wrote:I'm assuming that removing the noscript tags will have no effect on the code's ability to correctly record my hit data.

I will take the liberty to quote my mathematics teacher from school "Don't assume such things!".

The reason is that for people like me, who surf with Javascript disabled, you will completely miss out my visits if you removed the "noscript" tags. If you have them, even though you may not get as detailed a result as you would have from a visitor with Javascript on (like time of visits, referer etc.), but you will atleast know I dropped by.

So, if nothing breaks, keep the "noscript" tag too. If it is breaking something, get rid of it, since not a lot of people surf with all these disabled by default 8)

thresholdprod
 
Posts: 575


Post Sat Sep 20, 2003 12:33 am


Add another to the list of people that surf with java disable. I'm not against what java could have been but what it has become.

Give a try with the "noscript" tag. I had to do a lot of tweaking when I had one on my galleries with the html code. For some reason the hits counts between pbase and the hit tracker never seemed to mesh quite right.

Bill

richards1052
 
Posts: 67

Keeping the Noscript tags

Post Sat Sep 20, 2003 1:29 am


Thanks, srijith & thresholdprod for informing me that I'm not going to get fully accurate hit counts with these tags removed.

Because I do want to pick up the hits of those who disable javascript, I ask you to help me with the original code (see the first post in this thread). It HAS the noscript tags, but as I wrote in that message--when I added the original javascript code to my Root Gallery Description box the Root gallery page displayed the sitemeter logo. But the hyperlink didn't resolve to the correct sitemeter.com url when I clicked on it. So I suspect it wasn't counting properly since I assume that the broken hyperlink means that it wasn't working properly.

BTW, the hit counter was picking up some hits because I checked it on the sitemeter.com website & there was data. Perhaps it was fully operational, but the broken link made me suspicious.
Last edited by richards1052 on Sat Sep 20, 2003 7:41 pm, edited 1 time in total.
Richard
http://www.pbase.com/richards1052/ Into the Great Wide Open

http://www.richardsilverstein.com/ Tikun Olam: Make the World a Better Place (weblog)

ilanphoto
 
Posts: 876


Post Sat Sep 20, 2003 7:01 pm


Hi All
I added the sitemeter code, corrected the missing "\" and yet could not get the icon to appear.
Any suggestions?
Thanks
Ilan

richards1052
 
Posts: 67

sitemeter problem: should I give up/ are there any alternati

Post Sun Sep 21, 2003 8:58 am


It seems I have only 2 choices with sitemeter code on pbase:

1. either retain the javascript code WITH noscript tags & not have the sitemeter logo resolve to the proper url (& so I don't know whether it's even counting my hits properly)
2. remove the noscript tags and not be able to tell what the referring url is for any of my hits.

I hate the latter option since I really want to know who's coming to me & from where. The former is also not good since even with the noscript tags in place my sitemeter stats are no longer giving referral info. Don't know why. When I initially added the js code w. noscript tags to my Description box in RootGallery I did get referral info. Then I removed noscript tags & no longer got this data. Now that I've added the noscript tags once again, now I don't get referral data.

So my question is: can you only pick up referral data if you use js? Is there any other hit counter out there that will pick up this info & work properly w. pbase? Or is that a hopeless proposition?
Richard
http://www.pbase.com/richards1052/ Into the Great Wide Open

http://www.richardsilverstein.com/ Tikun Olam: Make the World a Better Place (weblog)

yardbird
 
Posts: 613
Location: Palatine, IL

Profile page in personal message

Post Wed Oct 01, 2003 12:49 am


I pasted the code in personal message and it worked.

Regards
karthik

richards1052
 
Posts: 67

Re: Profile page in personal message

Post Wed Oct 01, 2003 5:11 am


yardbird wrote:I pasted the code in personal message and it worked.

Regards
karthik


Thanks for your response. I'm still not sure my code is counting properly.

Can you be more specific about what code you posted (Sitemeter code I assume, but which version of it? did it have the javascript code <script> AND <noscript>?) and where you posted it

By 'personal message' do you mean you posted it in the Profile section where you can create a 'Message from..." If so, are you sure that placing the code on a screen which isn't visited by many visitors will actually count hits properly?
Richard
http://www.pbase.com/richards1052/ Into the Great Wide Open

http://www.richardsilverstein.com/ Tikun Olam: Make the World a Better Place (weblog)

Previous

Board index PBase HTML and Style Sheets adding sitemeter.com counter to my pbase site

Who is online

Users browsing this forum: ClaudeBot and 1 guest