Squirrly SEO Knowledge Base

JSON-LD Structured Data

Google uses JSON-LD structured data (JavaScript Object Notation for Linked Data)  that it finds on the web in order to understand the content of the page, as well as to gather information about the web and the world in general.

A JSON-LD example would be:

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Organization",
  "url": "http://www.example.com",
  "name": "Your Company",
  "contactPoint": {
    "@type": "ContactPoint",
    "telephone": "+1-401-1111-1111",
    "contactType": "Customer service"
  }
}
</script> 

Most Search Engines use structured data from schema.org vocabulary.

Google uses the JSON-LD for rich snippets and featured snippets and to populate the search results with more data from each website like Breadcrumbs, Reviews, Article data, Company Info.

JSON-LD in Squirrly SEO is simple and flexible, without the need for you to dive into the actual code. It’s time to impress that Google’s Structured Data Markup Helper and skyrocket your website’s SEO potential with structured data!

By default, JSON-LD Structured Data is ACTIVE.


How to Access JSON-LD Settings

JSON-LD is located within the SEO Settings section of Squirrly SEO. Navigate to Squirrly > SEO Settings > JSON-LD in order to reach it.

How to Access JSON-LD Settings

Go to Squirrly > SEO Settings > JSON LD from your WordPress Dashboard.


JSON-LD Type

You have two options here:

  1. Organization. Recommended if you have a business site.
  2. Personal. Recommended if you have a personal site.

Important!

As part of the onboarding process, Squirrly lets you select your Website Type. Squirrly will use this information to set the JSON-LD type. For example, if you select Personal as your website type during onboarding, then Squirrly will know to automatically set your JSON-LD type as Personal as well.

JSON-LD Organization

If you have a business or a local business, the first step when it comes to setting up the JSON-LD is to select Organization at JSON-LD Type.

Make sure you add the correct information to have it displayed in Google search results when someone searches for your brand or your name.

Keep in mind that setting this up does not guarantee that the information will appear in Google’s rich snippets (this is something that is handled on Google’s end). However, it’s important to prepare for this opportunity by providing the correct information about your organization.

Complete the dedicated fields to include the following information:


JSON-LD Personal

If your website is a personal website, you need to add the author data to build a valid JSON-LD.

Include your name, job, profile image, contact phone, and BIO description. All these details will appear on Google search results when someone will search your author name.


Personal Website – Global Author

Note! Activating the option Set this person as a global author will overwrite the posts/pages author(s) with the author whose information was specified in this section in JSON-LD.

When is this useful?

Say you are a developer or agency and you’re setting up the JSON-LD for a client’s personal website. Maybe you’re also the author of some of the posts/pages posted on that website.

It’s important to add your client’s information (the site owner) and activate the option Set this person as a global author in Squirrly.

This way, you can avoid any confusion and make sure the correct author is added in JSON-LD.


Structured Data for Local SEO

To configure the Local SEO, you first have to enable the Local SEO feature from Squirrly > All Features.

This is where you can set up the GEO Location of your business – more precisely, the Latitude & Longitude of your store/business.

This will help Google know what is the exact location of your business. Note that Google can even display a map showing where your business is located, which makes it easier for potential customers to reach you.

Google uses the information related to the Latitude & Longitude of your store/business to deliver the most relevant results to their users.

Here’s an example:

Say you own a pizza restaurant called Nico’s Pizza, and your restaurant is located in Köln, Germany. But there’s also another pizzeria with the same name, and that business is located in another city, across the border, in The Netherlands.

If someone from Köln searches for Nico’s Pizza, Google will know that that person will most likely be interested to see your restaurant first, as it’s closer to their geographical location. And pizza is best served hot.

Providing the Latitude & Longitude of your store/business is a way to help Google understand what is the location you are promoting your business for.

TIP: You can get the GEO Coordinates based on your business address here.

Once you set up the latitude and longitude, you can download the /location.kml file in order to upload it to Google Earth.

Read more details about GEO Location HERE.


Local Business Hours

 Fill this information for every day of the week to tell Google about your business hours.


Local Restaurant

If you have a local restaurant, you can use this to tell Google about:

Furthermore, if you have an online menu, you can link to it. And all that information can appear in Google Search when people search your restaurant’s name, for example, and other instances where your business matched their query.

Note! ONLY use this if you have a restaurant, pizza place, bar, pub, etc. Otherwise, leave this blank.

Read More about Local Business


JSON-LD WooCommerce Plugin Support

Improve the WooCommerce Product and Orders Json-LD Schema with the required data.

Add default data for JSON-LD AggregateRating, Offers, Sku, MPN when they are missing from the product to avoid GSC errors.

Enable Squirrly to include additional metadata fields for WooCommerce Products Inventory Section:

Squirrly will also include additional metadata fields for product brands in the Product Advanced Section.

To avoid any errors in Google Search Console and Rich Snippet validation, Squirrly SEO will add default data for JSON-LD AggregateRating, Review, Offers, SKU, MPN.


A breadcrumb trail on a page specifies the page’s position in the site hierarchy. This is useful in terms of helping users understand and navigate a site more effectively.

Starting from the last breadcrumb in the breadcrumb trail, a user can navigate all the way up in the site hierarchy, one level at a time.

You can read more about this HERE.

By default, the option Add Breadcrumbs in JSON-LD is set to ON.

When this option is turned ON, Squirrly will add the BreadcrumbsList Schema into JSON-LD, including all parent categories based on the Primary Category selected in SEO Snippet > JSON-LD.

The advantage of activating this option in Squirrly SEO is that search engines such as Google are more likely to add your breadcrumbs to snippets for pages on your site in the search results.

Example – breadcrumbs in search snippet.

Remove other JSON-LD from page

If this option is active, Squirrly will clear the JSON-LD code from other plugins and themes to avoid duplicate schemas.

Note that activating this option means that ONLY Squirrly will add the JSON-LD on your page. If you use another plugin for JSON-LD, you can leave the option Remove other JSON-LD from page turned OFF (this way, you enable all JSON-LD scripts to load for your website).

Title & Description Lengths

By default, Squirrly SEO plugin truncates the Title and Description for JSON-LD to avoid long text in headers.

Default length is set to:

However, you can customize this length, based on your needs. Depending on the Schema Type you want to use for a post type (FAQ Page Schema for example) you can set this to 500 chars or more.

As a best practice, though, make sure to only include RELEVANT text. Although there is NO limit in terms of how many characters you can include, it’s best NOT to go overboard with this and share details that may not be 100% relevant or needed.

Note! If you set the length to -1, Squirrly SEO will not truncate the text in JSON-LD.


Configure the JSON-LD Types in SEO Automation

Once you’ve added the Company/Personal data in JSON-LD, it’s time to set up the JSON-LD for each post type in order to load the correct structured data for Google.

There are 2 ways to set up the JSON-LD type:

To set the JSON-LD for a specific post type, go to Squirrly > SEO Settings > Automation, select a Post Type and scroll down to Open Graph & JSON-LD Type field. Select the correct JSON-LD type and save the Automation settings.

Squirrly SEO will know to load the correct JSON-LD data for all the posts from this post type.


Validate JSON-LD Structured Data

To validate the JSON-LD Structured Data, access the SEO Snippet from Squirrly > SEO Settings > Bulk SEO and click on the Validate button.

You will be redirected to https://search.google.com/test/rich-results with the JSON-LD code from Squirrly SEO. You can also validate an URL and see if all the JSON-LD data from other plugins are also correct.


Custom JSON-LD Schema Code

If you have a custom JSON-LD code for an URL, you can select Custom Code at JSON-LD Code and paste your own JSON-LD code. Squirrly SEO will load your custom code next time the URL is loaded.

We recommend only using this option if you are advanced/expert when it comes to SEO and know exactly what you’re doing.


Advanced Custom Fields Plugin Integration

Download ACF Plugin: https://wordpress.org/plugins/advanced-custom-fields/

Create custom JSON-LD here: https://technicalseo.com/seo-tools/schema-markup-generator/

Exit mobile version