You should implement web analytics before you start optimizing your website.
If you purchase the software ahead of time, you can see which tactics are successful and then alter things if you need to.
To optimize your site for search engines you need to update it regularly. When you are trying to perfect a search engine, you need to use definite commands that will produce the most relevant results for whatever is searched.
DISCLAIMER: DMOZing.com is not affiliated in any way, shape, or form with DMOZ, AOL, Netscape, their management, entities or their official websites. Links to external websites on this website does not constitute endorsement.