Over the last few days, I've inserted StatCounter code into the template for this blog, my personal site, and the site for the Dr. Martin Luther King, Jr. Association of Santa Clara Valley. While the code worked fine for this blog, I ran into a problem with the other two sites. My personal site and the MLK site have pages that are maintained using Microsoft Word.
In Microsoft Word, I inserted the StatCounter Javascript code into Word's HTML view of each page. For some reason, doing so corrupted all of my links with relative paths: Word changed all of the relative paths to full paths for my local drive. After stripping out full paths from the hyperlinks manually, I found that the links could become corrupted again. So to fix the problem permanently, I decided to change all of the hyperlinks with relative paths to full paths. To identify all of the broken links, I used the W3C Link Checker, an excellent free link checker. Links on both my personal site and the MLK site are now fixed.
The StatCounter service is excellent: it provides free detailed information about traffic to one or more websites. One feature I really like is that it offers the option to install a cookie on the webmaster's computer, so that traffic to the site from the webmaster's computer will be excluded from the statistics.
No comments:
Post a Comment