Technical SEO FAQ · International SEO, Structured Data & Advanced Technical Signals

How do you approach JavaScript-generated metadata?

Important metadata includes:

  • title;
  • description;
  • canonical;
  • robots;
  • structured data.

Where practical, put critical metadata in the initial HTML.

If JavaScript generates it, test the rendered result and ensure there is no conflicting initial value.

Google's JavaScript documentation specifically discusses dynamically setting title, description, canonical and robots metadata.


Sources


Related questions


← All technical SEO questions View as Markdown (.md)