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
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With