Google Posts New Guide On How To Use Structured Data With JavaScript

Apr 3, 2020 - 8:08 am 0 by

Google Developers

Google has posted a new developer help document guiding SEOs and webmasters on how to use structured data with JavaScript. This goes through using Google Tag Manager to generate JSON-LD dynamically and using structured data with custom JavaScript.

The document explains that modern websites use JavaScript to create websites with lots of dynamic content. There are a few things you need to look out for when using JavaScript to generate structured data on your websites, and this guide covers best practices and implementation strategies. If youโ€™re new to structured data, you can learn more about how structured data works.

There are different ways to generate structured data with JavaScript, but the most common are:

  • Google Tag Manager
  • Custom JavaScript

This document has some very nice guidance that I know some in the SEO community wanted clarity on.

Forum discussion at Twitter.

 

Popular Categories

The Pulse of the search community

Search Video Recaps

 
Video Details More Videos Subscribe to Videos

Most Recent Articles

Search Forum Recap

Daily Search Forum Recap: December 12, 2025

Dec 12, 2025 - 10:00 am
Search Video Recaps

Search News Buzz Video Recap: Google December 2025 Core Update, Discover Alignment To Rankings, Search Console Features, AI Mode Updates & More

Dec 12, 2025 - 8:01 am
Google Maps

Google Gemini Local Results In Visual Formats

Dec 12, 2025 - 7:51 am
Google Ads

Google On AI Max Inferred Intent vs Raw Text

Dec 12, 2025 - 7:41 am
Google Maps

Google Maps Share Button Drops X For Reddit & Facebook

Dec 12, 2025 - 7:31 am
Google

Google News AI-Powered Article Overviews Go Live For Some Publishers

Dec 12, 2025 - 7:21 am
 
Previous Story: Google Search Console COVID-19 Announcement Beta Tool