featured-image

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

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.

Source

Post Your Comment

Your email address will not be published. Required fields are marked *

Copyright ยฉ 2020 Maxxhost.net. All rights reserved.
<!--Start of Tawk.to Script--> <script type="text/javascript"> var Tawk_API=Tawk_API||{}, Tawk_LoadStart=new Date(); (function(){ var s1=document.createElement("script"),s0=document.getElementsByTagName("script")[0]; s1.async=true; s1.src='https://embed.tawk.to/5e4c036e298c395d1ce88e95/default'; s1.charset='UTF-8'; s1.setAttribute('crossorigin','*'); s0.parentNode.insertBefore(s1,s0); })(); </script> <!--End of Tawk.to Script-->
Register your Domain