3

Below is an example of the JSON-LD I've added to my home page (company name removed).

My question, is it generally recommended that this be added to all pages of a site, or just the home page?

<script  type="application/ld+json" id="website-json-ld">
{
    "@context":"http://schema.org",
    "@type":"WebSite",
    "name":"Company Name, LLC.",
    "alternateName":"Best Company",
    "url":"https://www.company.com"
}
</script>
<script  type="application/ld+json" id="social-json-ld">
{
    "@context":"http://schema.org",
    "@type":"Organization",
    "name":"Company Name, LLC.",
    "url":"https://www.company.com",
    "sameAs":[
        "https://forum.company.com/",
        "https://www.facebook.com/company",
        "https://www.youtube.com/user/company",
        "https://www.instagram.com/company/",
        "https://twitter.com/company",
        "https://www.linkedin.com/company/company",
        "http://www.houzz.com/pro/company/company-llc",
        "https://plus.google.com/+company"
    ]
}
</script>
  • What’s your motivation for adding it? Do you have a specific rich snippet in mind (if yes, which?), or do you ask about the best practice from a Linked Data perspective, no matter who the consumer of the data is? – unor Jul 15 '18 at 17:59
  • Mainly from a best practice perspective in general. I'm not an SEO expert and I'm not sure this has any bearing on SEO, I'm just trying to make sure I follow best practice. – KCCLEMO Jul 26 '18 at 15:17
2

Google uses the phrase "Include the contact markup on one page in your official site" in relation to the Organization information you are adding.

https://developers.google.com/search/docs/guides/enhance-site

Typically you would add it to the home page or contact page. i.e. pages that talk about the organization.

Don't add it to pages on other subjects unless it is part of some other entity. I.e. the publisher of an article. Then, you only need to provide basic details including an id and url so that systems can connect the partial organization with your more detailed one on another page.

Google no longer seems to talk about the use of WebSite in that way. It used to help in mobile search results. I recall that they said only on the home page.

Another use for WebSite states "Implement the WebSite structured data element on the homepage for your site".

https://developers.google.com/search/docs/data-types/sitelinks-searchbox

  • Thank you! That helps a lot. I'll continue digging into that documentation and restructure the data on my site accordingly. – KCCLEMO Jul 26 '18 at 15:22
  • "Then, you only need to provide basic details including an id and url so that systems can connect the partial organization with your more detailed one on another page." How is this implemented? I can't find any info about it? – 00-BBB Oct 11 at 15:42
  • It depends on the vocabulary you are using. In microdata its the itemid property, and in json-ld it's @id. If you use a common id whenever you reference something, then the systems can connect them as relating to the same thing. – Tony McCreath Oct 12 at 22:29
1

JSON-LD should be included on the company home page for the company info. While you shouldn't use that on other pages, you should include JSON-LD on the other pages that provides the information on those pages.

  • Services pages should have rich snippets.
  • Menu pages should have rich snippets.
  • Product pages should have Schema as well.

The key is to place appropriate Schema on the pages that you wish to rank on the search engines. Every page's Schema should be different. If you have duplicate pages (pages that can be accessed with http or https, or pages with passed parameters, like example.com/page.php?a=1) make sure to include canonical references to the source page. This will cause search engines to view the pages the same and WILL effect analytics and ranking in a large way.

1

You can include multiple structured data objects on a page, as long as they describe user-visible page content. However, if you mark up one item in a list you must mark up all items; marking up just one category entity from all listed on the page is against our guidelines.

Examples: https://developers.google.com/search/docs/guides/sd-policies

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.