Will search engines capture javascript generated keywords and description meta tags?

I have a website that uploads its template via ajax. The description and keywords meta tags are present in this template.html file, and not on the current index.html page being loaded. After loading the template, it inserts the meta tags from the template into the index.html file.

Will Google or any other search engine read this description and keywords meta tags that were dynamically inserted?

I ask this because I heard that many search engines do not support javascript, although when I get a preliminary screenshot from a search result on a google site, it displays a page containing the entire layout (after inserting template.html ), so it made me curious .

Thanks in advance

+6
source share
2 answers

Adding HTML to the DOM with JavaScript is shown to work with Google crawl. So the real question is that using this method still works for marking up the meta tag. You will need to run your own test, as no one seems to have done a case study before.

+3
source

The simple answer is NO! Most search engines do not crawl links or words dynamically added by javascript!

0
source

Source: https://habr.com/ru/post/921308/


All Articles