Closed Con-Shoc closed 6 years ago
Issue (Current Behaviour) The Schema on the homepage is missing a set of quotation marks for one of the datapoints.
Sample Code from Site <script data-react-helmet="true" type="application/ld+json">{ "@context": "http://schema.org", "@type": "Organization", "name": "AutoZone (AZO)", "url": https://www.autozone.com, "logo": "http://www.autozone.com/images/common/azLogo_color_sm.png", "contactPoint" : [ { "@type" : "ContactPoint", "telephone" : "+1-800-288-6966", "contactType" : ["Sales","Customer Service"], "contactOption" : "TollFree", "areaServed" : "US", "availableLanguage" : ["English", "Spanish"] } ], "sameAs" : [ "https://en.wikipedia.org/wiki/AutoZone", "https://www.facebook.com/autozone", "https://twitter.com/autozone", "https://www.youtube.com/user/AutoZone" ] }</script>
<script data-react-helmet="true" type="application/ld+json">{ "@context": "http://schema.org", "@type": "Organization", "name": "AutoZone (AZO)", "url": https://www.autozone.com, "logo": "http://www.autozone.com/images/common/azLogo_color_sm.png", "contactPoint" : [ { "@type" : "ContactPoint", "telephone" : "+1-800-288-6966", "contactType" : ["Sales","Customer Service"], "contactOption" : "TollFree", "areaServed" : "US", "availableLanguage" : ["English", "Spanish"] } ], "sameAs" : [ "https://en.wikipedia.org/wiki/AutoZone", "https://www.facebook.com/autozone", "https://twitter.com/autozone", "https://www.youtube.com/user/AutoZone" ] }</script>
Testing the above code using Googles Structured Data tools throws an error: https://search.google.com/structured-data/testing-tool/u/
Expected Behaviour The code would validate and be error free.
Solution Replace the existing code with the below:
<script data-react-helmet="true" type="application/ld+json">{ "@context": "http://schema.org", "@type": "Organization", "name": "AutoZone (AZO)", "url": "https://www.autozone.com", "logo": "http://www.autozone.com/images/common/azLogo_color_sm.png", "contactPoint" : [ { "@type" : "ContactPoint", "telephone" : "+1-800-288-6966", "contactType" : [ "Sales", "Customer Service" ], "contactOption" : "TollFree", "areaServed" : "US", "availableLanguage" : [ "English", "Spanish" ] } ], "sameAs" : [ "https://en.wikipedia.org/wiki/AutoZone", "https://www.facebook.com/autozone", "https://twitter.com/autozone", "https://www.youtube.com/user/AutoZone" ] } </script>
The above code validates in this tool: https://search.google.com/structured-data/testing-tool/u/
Issue (Current Behaviour) The Schema on the homepage is missing a set of quotation marks for one of the datapoints.
Sample Code from Site
<script data-react-helmet="true" type="application/ld+json">{ "@context": "http://schema.org", "@type": "Organization", "name": "AutoZone (AZO)", "url": https://www.autozone.com, "logo": "http://www.autozone.com/images/common/azLogo_color_sm.png", "contactPoint" : [ { "@type" : "ContactPoint", "telephone" : "+1-800-288-6966", "contactType" : ["Sales","Customer Service"], "contactOption" : "TollFree", "areaServed" : "US", "availableLanguage" : ["English", "Spanish"] } ], "sameAs" : [ "https://en.wikipedia.org/wiki/AutoZone", "https://www.facebook.com/autozone", "https://twitter.com/autozone", "https://www.youtube.com/user/AutoZone" ] }</script>
Testing the above code using Googles Structured Data tools throws an error: https://search.google.com/structured-data/testing-tool/u/
Expected Behaviour The code would validate and be error free.
Solution Replace the existing code with the below:
<script data-react-helmet="true" type="application/ld+json">{ "@context": "http://schema.org", "@type": "Organization", "name": "AutoZone (AZO)", "url": "https://www.autozone.com", "logo": "http://www.autozone.com/images/common/azLogo_color_sm.png", "contactPoint" : [ { "@type" : "ContactPoint", "telephone" : "+1-800-288-6966", "contactType" : [ "Sales", "Customer Service" ], "contactOption" : "TollFree", "areaServed" : "US", "availableLanguage" : [ "English", "Spanish" ] } ], "sameAs" : [ "https://en.wikipedia.org/wiki/AutoZone", "https://www.facebook.com/autozone", "https://twitter.com/autozone", "https://www.youtube.com/user/AutoZone" ] } </script>
The above code validates in this tool: https://search.google.com/structured-data/testing-tool/u/