Search code examples
javascriptseosearch-engine

does inserting javascript code at the beginning of the body affect SEO?



is there any concern of adding javascript code at the very beginning of opening tag of body?
does it affect SEO??

Thanks for your help


Solution

  • No, but for reasons of speed I suggest to insert it at the end of the body.