Where is Schema, Twitter cards and OpenGraph code need?
-
Hello, I've adding OpenGraph, Twitter cards and Google's Schema code to my website to help these services pick the correct information about my website. I'm doing this as per the Moz SEO cheatsheet.
Does these rich snippets need to be on the index page only, or should they appear on every page?
-
Hi Adrian,
You want OG tags and Twitter card tags to be specific to each page on your site. For instance, pagea.html's tags should relate to that page's content and pageb.html's tags should contain information related to pageb.html's content.
On Schema, that is going to be specific to the content...so if you've got a review on your home page and the same review is on a second page, then the same Schema markup might be contained on the home page and on the second page.
Hope that helps. Let me know if you need more clarification.
Thanks,
Matthew