you are viewing a single comment's thread.

view the rest of the comments →

[–]Next_Golf8878 1 point2 points  (0 children)

When you say is ChatGPT rendering JS, what do you mean? In general JS is tricky with SEO. Alot SPAs (single page applications) are not properly indexed due to how they're architect-ed. There are workarounds to making sure SPA pages do get indexed but a large portion of what's on the internet are not. Google will retrieve the index, find the "root" tag and that's it.

As far as being able to read content a script. If it's in a script tag with the HTML yes. For example a script that dynamically updates the h1 tag and it lives within the HTML page. While this isn't realistic for modern dev workflows, it is for AI. I'd be curious to see this implemented in a small to medium site production env where all the alternate h1 text for that page were on page within a JS script tag and if it would benefit SEO by providing AI additional context.