Skip to content

AI visibility

Keep the markup when the templates change.

By James Richardson ·

Markup pasted into a template can leave with it. Generate the description from the same content the page uses, keep its identifiers stable, and make the built output part of the redesign's acceptance checks.

  • Identifiers
  • Shared organization data
  • Built-output checks

Written for whoever will commission the next redesign, and whoever will inherit it.

Why markup can disappear unnoticed

A design review can miss structured data because the page looks the same without it. If the launch checks cover only what a browser displays, a rebuild can remove the description without failing any acceptance check. The remedy is to inspect the machine-readable output as well as the page.

It fails in four recognizable ways, and none of them is a mistake about the vocabulary.

  • It was pasted into a page template, so replacing the template deletes it. Design review looks at the rendered page, where nothing changed.
  • It was produced by a plugin or a tag manager that the new stack does not have, so it leaves with the platform.
  • It restates facts that also appear in the visible page — a legal name, an address, a service description — so the two drift apart the first time either is edited, and the markup starts asserting something the page contradicts.
  • It was written by hand once per page, which means the twelfth page got a slightly different version, the thirty-first got none, and nobody can say which is which without opening all of them.

Every one of these is a maintenance problem wearing a markup problem’s clothes. The vocabulary is stable and well documented; what is unstable is where the values come from and who is responsible for them when the templates change hands.

Declare the organization once, and point at it

Give the organization's facts one authoring source: legal name, the name customers use, logo, contact points, and relevant profiles. Give the organization a stable identifier. On this site, each page's generated graph includes that shared organization description, and its other nodes reference the identifier. The output repeats the facts; the editor maintains them once.

For a public organization, an absolute URL with a fragment naming the thing is a practical identifier. Keep it stable and use it consistently. W3C recommends identifiers that can lead a client to more information; the identifier names the thing rather than requiring a separate page at the fragment. Changing it creates reconciliation work, rather than automatically changing how every search platform recognizes the business.

With that in place, the pattern for the rest is mechanical. The site node states which organization publishes it. An article names its publisher by identifier. A service names its provider by identifier. A page states which site it is part of. The generator supplies the shared descriptions alongside those relationships, so a reader does not have to fetch another page to learn who the publisher is.

A reference can legitimately point outside the current document. JSON-LD does not require a local definition for every @id. Our site takes a stricter approach: each page includes the descriptions its graph references. This catches an accidental identifier change or an omitted publisher without depending on another fetch. Treat that as an implementation choice, not a universal validity rule.

Review profile links as identity claims. Link to pages that identify the same organization, and check that they still describe it accurately. Control of a profile helps with maintenance; the important question is whether the relationship you declare is true.

Generate it from what the page already knows

Generate structured data from the same content files that supply the visible page. If the page renders a service name from a content file, the service node reads that same value from that same file. If the page renders a publication date, the article node reads that date. One edit reaches both outputs, reducing the chance of conflicting descriptions.

In practice this is one module that takes a page’s own content and returns the graph. Templates do not contain markup; they call a function. An editor changing a service name changes the markup as a side effect and never learns that structured data exists, which is the correct outcome — the alternative is a process step that depends on somebody remembering.

This is also what makes the next redesign cheap. New templates call the same function, and the markup arrives with them. What a rebuild has to port is one module and the data it reads, rather than an audit of forty page types by someone who was not there when they were written. Budget that module explicitly in the rebuild, or it will be discovered in the final week and dropped.

A generator still needs to be carried into the new platform, and a changed content model can break its mapping. It can also emit the same mistake on many pages. The benefit is one place to fix the mapping and one set of checks to run against the output. Generation makes the work easier to maintain; tests establish whether this build still does it correctly.

The checks that catch the break

Validators can check syntax and feature requirements. They cannot establish that the claims are true or that every intended page carries the right description. Google's policies also require markup to represent the visible content, and correct markup does not guarantee a rich result. Use validation alongside checks of your own content and output.

  • For our convention, every page includes the node descriptions its graph references. For another implementation, document which references are intentionally external.
  • Every page identifies its publisher consistently, using the shared organization data and identifier.
  • Every value that appears both in the markup and in the visible page came from the same source, which is provable by construction if the markup is generated.
  • The crawl runs over every built URL. A spot check of the homepage is how a site ends up with correct markup on one page and nothing on the other two hundred.

Run all of that against the built output, not against the source, and run it on the way out of the build rather than as an occasional audit. A check that runs when somebody remembers to run it has the same reliability as the convention it replaced.

At a cutover, capture the nodes and identifiers the current site emits, then compare them with the new output. Record which removals are intentional and investigate the rest. Keep that comparison with the launch evidence so the next person can distinguish a deliberate change from a missing declaration.

Sources

Check the JSON-LD format and Google's requirements.

Primary references checked November 20, 2026. The shared-source and complete-page-graph recommendations above describe our implementation choices.

See what your pages currently declare.

The automated scan fetches a page and reports the structured data it finds. If you are planning a rebuild, capture that starting point before the templates change, then compare the new output with it.

No email required for the automated scan. Scope and fees are agreed before any work begins.

Start with what a page request receives, then distinguish access rules, rendering and structured data. Each is a different check with a different limit.