Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

About the Visitor Counter.

Is it possible to visit one's own site without triggering the iWeb visitor counter? I want to keep track of visitors, but am now adding to the numbers every time I do. If it is possible to check numbers without adding to them, how is that done?

E-Mac Mac OS X (10.4.8)

Posted on Jan 1, 2007 11:19 PM

Reply
9 replies

Jan 3, 2007 1:13 PM in response to MacPro.ButNOWebPro

Thanks, Max, for your response. I had checked into the StatCounter and iComment sites, but decided to not incorporate any of those at present because of bad experiences I have had while trying to incorporate counters into my iBlog site. The instructions given by iBlog "experts" did not work for me, and Lifli, the creator of iBlog software, has become completely unresponsive to my queries for help.

Thus, I've chosen the iWeb counter for the present. It does work and, if I could visit my site without personally triggering the counter, I would be satisfied for now. However, I've retained all of the StatCounter and iComment information. Sometimes I grow bolder with experience . . . 🙂

W

Jan 3, 2007 2:30 PM in response to Wordspinner

Wordspinner....

StatCounter really is the way to go...and with iComment it is even easier than ever. And no worries about people leaving you high and dry without support in this iWeb forum. There are plenty of very helpful people on board.

When you decide to take the next step, we'll be here for you!

Ooh, and did I mention that with StatCounter, not only can exclude your own visits from being counted (via a browser cookie), but you can also check your stats without even visiting any webpages with this DashBoard widget...

http://www.apple.com/downloads/dashboard/status/statcounter.html

Jan 3, 2007 2:26 PM in response to Wordspinner

That's the way counters work, if you visit, it counts. If you could visit and it not count, then everyone could visit and it wouldn't count. Even with Statcounter, if you visit the page, the visit gets counted. The benefit of the .mac page and Statcounter is that it accesses the raw count data and shows it to you WITHOUT you having to visit your site.

Jan 5, 2007 6:09 PM in response to James Tseng

James,

I registered with StatCounter, tried to follow the instructions and wound up in a blind alley. When I use my text editor to open the iWeb index.html page as per the instructions, that page appears blank. There is nothing resembling the image shown on the "Standard Text Editor--StatCounter Code Installation Instructions."

As far as I can tell, what I am doing in attempting to follow those instructions is having no effect at all on my web site. Nor does iWeb seem to be offering me a way to drop the StatCounter Code into my site.

I find this frustrating, because I follow the instructions to the point that they tell me to do somethiing that my computer does not seem to be offering as an option. Neither StatCounter's nor iWeb's Help section seem helpful, either.

So, although I am registered with StatCounter, and have their code, I can find no way to connect that code with my iWeb program and site. I would be delighted to find a way to make this stuff workable, but the instructions I have found thus far are not helpful.

WS

E-Mac Mac OS X (10.4.8)

Jan 5, 2007 7:25 PM in response to Wordspinner

Wordspinner...

Here's the trick to "seeing" the code on your page. You have to tell TextEdit to ignore rich text commands. If you want this to be the default behavior for TextEdit, just open up TextEdit and look in the Preferences window. Click on "Open & Save" and check the box to "ignore rich text commands". Then when you open up and HTML page, TextEdit will show you the underlying raw HTML code instead of trying to render it like in a browser.

Just to point you further in the right direction, the index.html file that you are seeing is just a redirect that goes to your real homepage... If you want to add your StatCounter code to only one page in your site, it should probably be the homepage (the one that shows when someone types in your address). This page should be inside your sitefolder. For instance, if your starting page is named "Welcome" then the corresponding HTML file to look for in the site folder would be "Welcome.html". Open this file with your new and improved TextEdit and you'll see the code for this page. Scroll all the way to the bottom and you will see these three tags: </body></html>. Paste the StatCounter code before </body>. So it should be in this order: <--StatCounter code--></body></html>.

Once you are finished pasting the code, then simply select "Save" or type Apple-s. Don't use the "Save As..." command. Just Save. Now check your webpage and you should see the StatCounter counter at the bottom of your page.

Remember, since you are doing this editing after publishing, iWeb will tend to overwrite these changes whenever you update your page. So you will end up needing to replace these changes. You might want to get familiar with a program called MassReplaceIt that will help you save these kinds of "find and replace" actions and execute them each time after you publish. http://www.hexmonkeysoftware.com/

Jan 7, 2007 8:06 AM in response to James Tseng

Thanks, James. That did it. It took me a while to figure out that I needed to be working in the iDisk area rather then my hard disk area, but once I got that straight, it all came together.

My next challenge will be to insure that additions to my web site don't obliterate the counter. As you suggested, I am looking into the Mass Replace It software ( http://www.hexmonkeysoftware.com/).

Thanks, again.

WS

E-Mac Mac OS X (10.4.8)

About the Visitor Counter.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.