Adding recipe structured data to your site is one of the best ways to increase the chance of someone clicking on your listing in the search results. The reason for this is that Google (and others) give special treatment to pages with structured data. For instance if you go to google and search for “Post workout recipes” you’ll see at the top of the page the layout for the recipe structured data listings.
How to add recipe structured data?
There are many different ways to add structured data to your pages but we will use the JSON-LD format. We choose JSON-LD as it’s Google’s preferred format.
Let’s get started:
- The first things we need to do is head over to the Scheme Generator from Merkle
- Click on “Which Schema.org markup would you like to create?” and choose “Recipe” from the dropdown
- From here fill in all the details that you have available. The only required fields are the name and image fields but add as many fields as you can. If you get stuck, check out the example recipe JSON-LD from Google to see what some of the filled in fields should contain
- Once you have filled in all the details click on the Google icon near the top of the page. From the dropdown click on “Rich Results Test”. You will be taken to the official Google structured data testing tool.
- If Google says everything is all good, go back to the structured data generator and click on the copy icon.
- Go to your cms page and paste in the copied text into the html of your page. Make sure you are on html view before pasting the code.