More about counters
25/06/07 06:10
Yesterday I noted that
a hit counter can be put into the sidebar of any
page. To do that, just open the Page Inspector, click
the "sidebar" icon and past the html code. Be sure
that the "HTML" button is clicked at the bottom of
the sidebar panel, and not the "Styled" button. In
theory, RapidWeaver will automagically recognize html
and will click the correct button for you, but it
never hurts to be sure.
You can also put the counter at the bottom of any page. Open the Page Inspector, click the "Plugins" icon (that's the last one) and paste the code into the "Copyright" field. You can actually put any html or plain text in there and it will appear centered at the bottom of the page. It's a pretty small field so if you're putting in more than a line of code you'll probably want to write it in BBEdit or another text/html editor, then paste it into the field.
That will get you a counter on one page, but what if you want the counter to appear in the same place on every page? For that, you'll use the "Site Update" panel instead of the "Page Inspector". If you put html into the Site Setup's Sidebar panel, it will appear on every page in the sidebar. If you put it into the Site Setup's "Copyright" field, it will appear centered at the bottom of each page. Remember that anything you have in the Page Inspector fields will override the Site Setup for that page.
You can also put the counter - or edit any html code - directly in the index.html page. I'll talk about that a bit later once I figure it out.
By the way, while I like StatCounter, a lot of people are saying good things about Google Analytics, too. If you want other offerings, there are a bajillion counters available for free. I googled "hit counters" and got 2,800,000 hits!
You can also put the counter at the bottom of any page. Open the Page Inspector, click the "Plugins" icon (that's the last one) and paste the code into the "Copyright" field. You can actually put any html or plain text in there and it will appear centered at the bottom of the page. It's a pretty small field so if you're putting in more than a line of code you'll probably want to write it in BBEdit or another text/html editor, then paste it into the field.
That will get you a counter on one page, but what if you want the counter to appear in the same place on every page? For that, you'll use the "Site Update" panel instead of the "Page Inspector". If you put html into the Site Setup's Sidebar panel, it will appear on every page in the sidebar. If you put it into the Site Setup's "Copyright" field, it will appear centered at the bottom of each page. Remember that anything you have in the Page Inspector fields will override the Site Setup for that page.
You can also put the counter - or edit any html code - directly in the index.html page. I'll talk about that a bit later once I figure it out.
By the way, while I like StatCounter, a lot of people are saying good things about Google Analytics, too. If you want other offerings, there are a bajillion counters available for free. I googled "hit counters" and got 2,800,000 hits!
|