- In Page view, at the bottom of the document window, click Design
. - Place the insertion point where you want the hit counter (Hit Counter component: A component in FrontPage that keeps track of the number of visitors to a World Wide Web site.).
- On the Insert menu, click Web Component.
- Under Component type, click Hit Counter.
- Do one of the following:
Choose an existing counter style
- Under Choose a counter style, double-click one of the of the counter styles.
Use a custom picture as a counter style
- Under Choose a counter style, double-click any of the counter styles.
- In the Hit Counter Properties dialog box, select Custom Picture.
- Type the relative location (relative URL: The Internet address of a page relative to the Internet address of the current page. For example, the relative URL Doc/Sample.htm refers to the page Sample.htm in the folder Doc, below the current folder.) of the GIF (GIF: A graphics file format (.gif extension in Windows) used to display indexed-color graphics on the World Wide Web. It supports up to 256 colors and uses lossless compression, meaning that no image data is lost when the file is compressed.) file.
For example, if the GIF is located in your images folder, the relative path would be /images/yourgif.gif.
Note The file must be in GIF format.
- 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.
Note To add a hit counter to your Web site, your
site must be located on a Web server running Microsoft FrontPage 2002 Server Extensions (FrontPage Server Extensions: A set of programs and scripts that support authoring in FrontPage and extend the functionality of a Web server.), SharePoint Team Services v1.0, or Microsoft Windows SharePoint Services. Ask your Web server
administrator or Internet service
provider (ISP) (ISP: A business that provides access to the Internet for such things as electronic mail, chat rooms, or use of the World Wide Web. Some ISPs are multinational, offering access in many locations, while others are limited to a specific region.) whether your server is running these technologies.