ubricHelp

JavaScript rendering

Google renders JavaScript before it indexes a page. Most AI crawlers don't: they read the HTML your server sends. These checks compare the two versions and flag content, titles, headings, descriptions and canonicals that only appear, or change, after scripts run.
  • Can search engines see a title set with JavaScript?
    Google can, after it renders the page. Bing often doesn't, and most AI crawlers never do, so they see a page with no title. Rubric flags pages where the server HTML has no title and one appears only after JavaScript runs.
    Major · check id js_only_title
  • Can AI crawlers read JavaScript content?
    Mostly, no. The crawlers behind ChatGPT, Claude and Perplexity read the HTML your server sends and don't run JavaScript, so text that only appears after scripts run is invisible to them. Rubric compares that raw HTML with the rendered page to find content that needs JavaScript.
    Major · check id parity
  • Should the canonical tag be added with JavaScript?
    No. Put the canonical in the HTML your server sends. If it only appears after JavaScript runs, crawlers that don't run scripts never see it, and Google may read it late or not at all.
    Standard · check id js_only_canonical
  • Can Google see an H1 added by JavaScript?
    Google usually can, once it renders the page. Most AI crawlers can't: they read the HTML your server sends, and an H1 added by script isn't there, so to them the page has no main heading.
    Standard · check id js_only_h1
  • Can JavaScript change the canonical tag?
    It can, but it shouldn't. When the canonical in the server HTML differs from the one after JavaScript runs, search engines get two answers, and Google may pick either one.
    Standard · check id js_changed_canonical
  • Does Google see titles changed by JavaScript?
    Google usually does, because it renders JavaScript. Crawlers that don't run scripts, including most AI crawlers, see only the title in the server HTML, so they may show a different or outdated title.
    Standard · check id js_changed_title
  • Can crawlers read a JavaScript meta description?
    Google can, because it runs JavaScript before indexing. Many other crawlers, including most AI crawlers, can't. Rubric flags pages whose meta description only appears after scripts run, so the HTML your server sends has none.
    Minor · check id js_only_meta

All Rubric checks in the AI SEO glossary