- Follow the structured data guidelines for your page and feature type. For example, if your page is a recipe, be sure to follow the technical guidelines for Recipes.
- Validate your code using the Structured Data Testing Tool. Paste your code into the tool and click the validate button. Tip: For some result types, the Structured Data Testing Tool lets you generate a sample view of a result from your data. For those types, after you click "validate" on the tool, if the code is valid you will see a "Preview" button, which will generate a sample search result display based on your data.
- Deploy a few pages using your structured data and use Fetch as Google to test how Google sees the page. Be sure that your page is accessible to Google and not blocked by robots, noindex, or login requirements. If the page looks okay, use that tool to request an index of the page. Read here to find out how to test a page hosted on a local server or behind a firewall.
- After Google has indexed the page, look for errors and properly processed data using the Rich Cards report(supports a subset of structured data types) or the Structured Data report in Search Console. Ideally you should see an increase of rich results (previously known as rich cards) or structured data types and no increase in error rates.If you see your structured data being crawled without errors, update your sitemap to have Google crawl those pages regularly.If you find problems in your structured data, fix it, retest on Fetch as Google, and request another index until everything looks good in the reports. Then deploy the rest of your pages.
- Monitor your error rates periodically using the Rich Cards or Structured Data report, especially after releasing new templates or updating your code.
How do I set up a structured data testing tool?
2 months ago