Does it matter if you put the code in the header or footer? would it affect which words are becoming advertisements??
I'd put it right before the ending body tag. You want to make sure the javascript runs after the content is loaded on the visitors screen.
It needs to be after the content. I put mine at the bottom of the sidebar in my wp themes. That way it doesn't show on the frontpage, but shows on the single posts and archive pages.
This is what you are looking for: By default, if no tags are implemented, the Infolinks will appear in all appropriate sections. However if you want to restrict the In-Text ads to specific sections use the tags below: To Enable parsing from this point on: <!--INFOLINKS_ON--> To Disable parsing from this point on: <!--INFOLINKS_OFF--> Code (markup): Do that, and then put the ad code before the </body> tag