: Question about external JavaScript and SEO I have a question about external JavaScript and SEO. Assume I have a site called example.com with and index page of: <html> <body> <div
I have a question about external JavaScript and SEO. Assume I have a site called example.com with and index page of:
<html>
<body>
<div class='main-container'>
<script src='http://www.other.com/page.js'></script>
</div>
</body>
</html>
and
// at www.other.com/page.js document.write('blue fish and green grass');
Will Google crawl what is outputted by other.com/page.js? Are there any techniques or strategies to make that content crawlable so that the text 'blue fish and green grass' was indexed?
Edit:
This moz.com/ugc/can-google-really-access-content-in-javascript-really seems to suggest that it is not but is also somewhat dated.
More posts by @Sue5673885
1 Comments
Sorted by latest first Latest Oldest Best
The best way to identify how google view your page is using fetch as google.
You will then know if the content generated by javascript is crawl by google or not.
In your javascript maybe you can try noscript for the content.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.