Mobile app version of vmapp.org
Login or Join
Sue5673885

: 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

@Sue5673885

Posted in: #Googlebot #Javascript #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 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.

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Sue5673885

1 Comments

Sorted by latest first Latest Oldest Best

 

@LarsenBagley505

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.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme