Keyword density?



I want to determine the percentage of time a company uses words such as "we", "company name", "us" etc in their texts on the pages on their website. How can I do this with the help of SEOTools?

Thanks :slight_smile:


This is tricky because it may be difficult to determine what words are actual visible text and what is part of html/javascript. The following two methods works slightly different in this regard, but could be a good starting point:


I've split the functions here: