Do you need to have the code on each page of the site even if its validating with just 2 pages and does having the code on each page make it count all the pages or does it need to be in a include footer.php
It has to be included in all the pages. Putting it in footer can make the job easier, thats only if the footer is included in everypage.