Add a hit counter to a web page
- In Page view, position the insertion point where you want to place the hit counter.
- On the Insert menu, click Web Component.
- In the left pane, click Hit Counter.
- Do one of the following:
Choose an existing counter style
- In the right pane, under Choose a counter style, double-click one of the of the counter styles.
Use a custom picture as a counter style
- In the right pane, double-click any of the counter styles.
- In the Hit Counter Properties dialog box, select Custom Picture.
- Type the relative location of the GIF file.
For example, if the GIF is located in your images folder, the relative path would be /images/yourgif.gif
- To set the counter to a specific number, select the Reset counter to box, and then type the number.
- To display a fixed number of digits in the hit counter, select the Fixed number of digits box, and then type the number.
For example, to display 005 rather than 5, select this option and type 3.
- Click OK. [HitCounter] is displayed on the page as a placeholder for the hit counter. To see how the hit counter will appear to site visitors, click the Preview tab, or click Preview in Browser
.
Note You must publish your web site to a web server that has the FrontPage Server Extensions or SharePoint Team Services from Microsoft installed. Ask your web administrator or Internet Service Provider whether this software is installed on your web server. Once the web site is published, click Preview in Browser
to test the hit counter.