Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Will Search Engines grab javascript generated keyword and description meta tags? [closed]

I have a website that loads its template via ajax. The description and keywords meta tags are present on this template.html file and not on the current index.html page being loaded. After the template is loaded it will embed the meta tags from the template into index.html file.

Will Google or any other search engine be able to read this page's description and keywords meta tags which were dynamically inserted?

I'm asking this because I've heard that many search engines don't support javascript, although, when getting a preview screenshot from the website search result on google it displays the page containing the whole layout (after the insertion of template.html) so this made me a but curious.

Thanks in advance

like image 278
zanona Avatar asked Jul 25 '12 14:07

zanona


1 Answers

Adding HTML to the DOM with JavaScript has been shown to work with Google's crawl. So the real question is if using this method still works for meta tag markup. You'll need to run your own test, as no one else seems to have run a case study on this before.

like image 108
Zachary Schuessler Avatar answered Oct 13 '22 17:10

Zachary Schuessler