Is your website invisible to AI? The JavaScript problem
A growing share of your customers no longer only search Google - they ask an AI assistant. "Who is a good plumber near me?" "Recommend a dentist in this town." And here is the uncomfortable possibility: your website might be completely invisible to those assistants, even while it ranks perfectly well in ordinary Google search. This article explains why that happens, how to test whether your own site is affected, and what to do about it - in plain language, with a test you can run yourself in a couple of minutes.
How people search now
The shift is real and quick. A substantial and rising share of people - by some projections around a third of the population in leading markets during 2026 - now use generative AI tools as part of how they find things, with Europe following the same curve. When someone asks ChatGPT, Claude or Perplexity for a recommendation, the AI draws on what it can read of the web to answer. If your business is readable, it can be the answer. If it is not, you are simply absent from a fast-growing channel - not ranked low, but not present at all.
The technical heart of the problem
Here is the crux, stated simply. Many modern website builders assemble their pages using JavaScript that runs in the visitor's browser - the page arrives nearly empty and is filled in by code after it loads. Human browsers run that code, so you see a full page. But most of the automated crawlers that feed AI assistants - the ones behind the major AI systems - fetch the raw HTML and largely do not run JavaScript. So where a human sees a rich page, the AI crawler sees something close to a blank one. Your content is there for people and missing for machines.
Why Google ranking does not save you
It is natural to assume that if you rank in Google, you must be visible to AI, but the two are not the same. Google has invested heavily in rendering JavaScript and can, with effort and delay, see client-rendered content. The newer AI crawlers largely have not, and mostly take the raw HTML as it comes. So a site can rank respectably in traditional Google search while being nearly invisible to the AI assistants your customers are increasingly asking. Traditional SEO success is not proof of AI visibility.
Test your own site: view source
You do not have to take anyone's word for it - you can check. In your web browser, open your site and use the "view page source" option (usually in the right-click menu). This shows the raw HTML the server sent, before any JavaScript runs - which is close to what an AI crawler sees. Look for your actual page text: your headings, your paragraphs, your services. If you can find your real content in that raw source, good. If the source is mostly code and scripts with little of your visible text in it, that is the warning sign: your content is being built by JavaScript and may be invisible to AI.
Test your own site: disable JavaScript
The second test is even more direct. Turn JavaScript off in your browser settings and reload your site. What you see now is roughly what a non-JavaScript crawler sees. If the page still shows your content - headings, text, navigation - you are in good shape. If the page comes up blank, broken, or stripped of its content, you have just seen your site through the eyes of an AI crawler, and the news is not good. It is a sobering, clarifying couple of minutes.
What AI systems actually want
Being visible is the first step; being useful to an AI is the next. AI systems favour pages that are easy to read and reason about: content delivered as real HTML rather than assembled by script; clear, answer-shaped writing that states things plainly; structured data that labels what things are (a business, its services, its location, its hours); and clear entities so the AI can tell exactly who and what the page is about. A page that is server-rendered, well-structured and plainly written is not just visible to AI - it is the kind of page an AI is comfortable recommending.
The terms you may have seen
This area has collected a confusing pile of names - generative engine optimisation (GEO), answer engine optimisation (AEO), AI SEO, and more. The terminology is unsettled and the acronyms are less important than the underlying idea, which is simple: make sure AI systems can read your site and understand your business well enough to recommend it. Whatever anyone calls it, that is the goal, and server-rendered, structured, clearly written pages are how you reach it.
Which platforms have the problem
Broadly, the risk is highest on platforms that render content in the browser with JavaScript - which includes several popular website builders - and lowest on platforms that send fully-formed HTML from the server. This is not a hard rule for every page of every site, which is exactly why the tests above matter: the only reliable way to know is to look at your own site's raw HTML. But if you are on a builder and your two tests came back blank, the platform's rendering approach is the likely cause.
What to do about it
If your site is invisible to AI, there are a few responses. Some platforms offer settings or features that improve how much is server-rendered - worth investigating on your current platform first. Failing that, the durable fix is to be on a platform that sends real HTML from the server by default, so AI visibility is not something you have to fight for. Alongside that, writing clear, answer-shaped content and using structured data helps AI understand and recommend you. The combination - readable delivery plus readable content - is what makes a site genuinely AI-friendly.
How the CMS Pros Platform handles this
For completeness: the CMS Pros Platform serves server-rendered HTML with structured data by default, so its pages are readable by AI crawlers without any special effort on your part. That is the whole point of building it that way - AI-readiness should be a property of the platform, not a project you take on. Our page Found by Google. Found by AI. explains the approach, and the paid AI Search Optimisation service takes it further for those who want active optimisation and monitoring.
Do not panic - but do check
None of this is cause for alarm; it is cause for a look. AI search is growing but not yet the majority of how people find businesses, so there is time to get this right. But the direction of travel is clear, and the cost of being invisible will only rise as more customers ask AI for recommendations. Spending two minutes on the tests above, and acting if they come back blank, is a small piece of future-proofing that puts you ahead of the many businesses that have not yet realised the issue exists.
Why this is an opportunity, not just a risk
There is an upside worth naming. Because so many sites are quietly invisible to AI, being visible is a genuine advantage right now - you can be the business an assistant recommends while your competitors are absent from the answer entirely. The gap that threatens sites which ignore this is the same gap that rewards those which address it early. Getting AI-readable is not only defence; it is a chance to be found where your competitors are not.
A closer look at what the crawlers do
To make the problem concrete: an AI crawler visits your page much like a very fast, very literal reader who cannot run any of the interactive machinery. It requests the page, receives whatever HTML the server sends, and reads that. If the server sends a full page of content, the crawler reads a full page. If the server sends a near-empty shell that a browser would then fill in with JavaScript, the crawler reads the near-empty shell - because it does not run the JavaScript that would have filled it. Everything else about AI visibility follows from that single mechanical fact.
The blank-page experience, concretely
When you disabled JavaScript in the test above and saw your page collapse, you saw exactly what this means. The navigation vanishes, the text disappears, perhaps a loading spinner sits where your content should be. To a human that is obviously broken; to an AI crawler that is simply the page, and it moves on with almost nothing to say about your business. No amount of good content helps if the content is never delivered in a form the crawler can read. Delivery comes before everything else.
Structured data, explained simply
Structured data is a way of labelling the information on your page so a machine knows what each piece is - that this is a business name, this is an address, these are opening hours, this is a service, this is a review. It is invisible to human visitors but hugely helpful to machines, because it removes guesswork: instead of inferring that a string might be a phone number, the AI is told plainly that it is. Adding structured data is one of the most effective ways to help AI systems understand and confidently recommend your business - provided, of course, the page is readable in the first place.
Answer-shaped content, and what it means
AI assistants are, at heart, answering questions, so pages that plainly answer questions are the easiest for them to use. That means stating things directly - what you do, where, for whom, at what sort of price - rather than burying it in atmosphere; using clear headings that pose or imply the questions a customer would ask; and giving straightforward, self-contained answers. Writing this way helps human readers too, but it is particularly powerful for AI, which can lift a clear answer directly into its response. Clarity is the shared language of good SEO, good AI-readiness and good writing.
Your business facts as machine-readable information
For a local or service business especially, the AI wants a few facts stated unambiguously: who you are, what you offer, where you operate, how to reach you. Make those easy to find and easy to parse - in plain text on the page, reinforced by structured data - and you make yourself easy to recommend. Scatter them, hide them in images, or bury them behind scripts, and you make the AI's job hard and your visibility poor. The businesses AI recommends are, very often, simply the ones whose basic facts are the clearest.
How to check whether AI already knows you
Beyond the technical tests, there is a direct one: ask the AI assistants themselves. Pose the kind of question a customer would - a recommendation for your type of business in your area - and see whether you appear, and whether the details are right. Ask directly about your business by name and see what the assistant knows. The answers are revealing: they show you not only whether you are visible but whether what the AI "knows" about you is accurate. It is the closest thing to seeing your site through a customer's AI-assisted eyes.
The shortcuts that backfire
As with early SEO, this new area attracts tricks, and the manipulative ones are best avoided. Stuffing pages with keywords, hiding text for crawlers, or trying to game an AI into recommending you tends to backfire, because these systems are built to see through exactly that and may penalise or distrust it. The durable approach is unglamorous and reliable: be genuinely readable, be genuinely clear about who you are and what you do, and be genuinely useful. There is no clever shortcut that beats simply being a well-built, honest, readable site.
Traditional SEO still matters
None of this replaces ordinary search. Google remains the dominant way people find businesses, and traditional SEO - relevant content, sound technical health, good performance, sensible structure - still matters enormously. The good news is that most of what makes a site AI-readable also makes it better for traditional search: clear content, fast server-rendered pages, structured data. You are not choosing between the two; you are building one well-made site that serves both, which is exactly how it should be.
A simple action plan
Pulling it together into steps: first, run the two tests (view source, and disable JavaScript) to see whether your content is even visible to crawlers. If it disappears, that is your priority - investigate your platform's settings, and if it cannot serve real HTML, consider one that does. Then make your content clear and answer-shaped, state your business facts plainly, and add structured data. Finally, ask the AI assistants what they know about you, and check back periodically. It is a short, sane list, and working through it puts you ahead of most of your competitors.
Images, video and the words around them
AI reads text far more readily than it interprets images and video, so anything important that lives only inside a picture is at risk of being missed. If your opening hours are baked into a graphic, or your services are described only in a video, add the same information in plain text and in descriptive alt text for images. This helps visually-impaired visitors and traditional search too, but for AI it can be the difference between your key facts being read and being invisible. Never let a machine's blind spot hide something a customer needs to know.
Speed and AI crawlers
Crawlers, like people, have limited patience. A slow, heavy page - often the same JavaScript-laden page that renders poorly for crawlers - can be fetched incompletely or deprioritised. Fast, lightweight, server-rendered pages are easier for every kind of crawler to read fully and reliably. Performance is not only a human courtesy and a ranking factor; it is part of being dependably readable by the automated systems that increasingly decide whether you show up in an answer at all.
How often to re-check
This is a moving target, so treat it as a periodic check rather than a one-off. AI systems, crawlers and the way people use them are all evolving quickly, so re-running the simple tests every few months - view source, disable JavaScript, and ask the assistants what they know about you - is sensible. It takes minutes and keeps you aware of your standing in a channel that is still taking shape. The businesses that keep half an eye on this will adapt as it matures; the ones that ignore it may wake up absent from it.
The mindset shift
Underneath the tactics is a simple shift in how to think about your website. For years the question was "can people find and read this?" Now there is a second audience that also has to be able to find and read it: the AI systems your customers increasingly consult. Building for both is not a burden but a discipline that makes a better site all round - clearer, faster, better structured, more honest about who you are. Get that right and you are readable by people, by Google and by AI at once, which is exactly the position you want to be in.
The bottom line
Many websites - especially JavaScript-heavy builder sites - are invisible to the AI assistants a growing share of customers now ask for recommendations, even while they rank fine in Google. Two quick tests (view source, and disabling JavaScript) tell you whether yours is affected. The durable fix is a server-rendered platform plus clear, structured content. As AI search grows, being readable by it moves from a nice-to-have to a real competitive edge - and the businesses that check now will be the ones the assistants recommend.
Frequently asked questions
Why would my site be invisible to AI but visible on Google? Google can render JavaScript to see client-built content; most AI crawlers largely do not, so they see only the raw HTML - which on some builders is nearly empty.
How do I test my own site? Use "view page source" to inspect the raw HTML, and try disabling JavaScript and reloading. If your content disappears, AI crawlers likely cannot see it either.
What fixes it? Being on a platform that serves server-rendered HTML by default, plus clear, answer-shaped content and structured data so AI can understand and recommend your business.
Is this the same as SEO? Related but distinct. Traditional SEO targets search rankings; AI-readiness is about being readable and recommendable by AI assistants, which have different requirements.
Do I need to worry about this now? It is not yet the main way people find businesses, but it is growing fast - and checking takes two minutes, so there is little reason to wait.
Can I fix AI visibility without changing platform? Sometimes - check your current platform's settings for server-side rendering options first. If it cannot serve real HTML, a platform that does by default is the durable fix.
Does being visible to AI guarantee I will be recommended? No - visibility is the entry ticket, not a promise. Being readable plus being clearly the best answer to the question is what earns a recommendation, just as it is with human readers.
Thinking about a platform AI can read?
If a move looks like the right answer, it is more straightforward than you may expect. On the CMS Pros Platform your content and rankings come across, the site is easy to edit yourself, and it is genuinely yours to export at any time - with security, updates and hosting handled for you. See how a move works in our migration guide, or request a free migration audit and we will give you an honest recommendation for your particular site.