Where does Schema.org Microdata go on a page?
-
Say you've got a Magento e-commerce site and you want to add Schema.org Microdata to it to take advantage of Google's Rich Snippets feature.
Would the markup be part of the page's HTML TITLE . . . or somewhere in the bare-bones description (usually wrought by inputting data into separate fields in the CMS), e.g.,
Item: Something
Price: $00.00
Short Description: blah, blah, blahOr, hidden somewhere in the header?
Or, can it be marked-up somewhere beneath my lengthy (and Panda-friendly) content and subsequently extracted by Google and highlighted in the SERPs?
Admittedly, I'm more than a bit late to the Schema.org party and I'm a content-guy anyway; and not much good at under-the-hood stuff. I figure I'd better get my chops together, now.
I've searched Moz.com's Q&A as well as Google's and Schema.org's and haven't come up with an answer yet that doesn't require that I learn a whole new vocabulary.
-
Yes, your question makes sense.
You can put the schema.org properties in any order, but spitting the description like that is going to be problematic. I would also suggest that your example is tedious to read and lacks a product description heading. A more realistic example would be:
h1 Widget /h1
The widget comes in blue, green, ...Hiding the price in the middle of the description is also difficult for humans to read. Putting aside the schema syntax, the example IMO is a poor user experience.
-
Perhaps I worded my question poorly.
When I've tested Schema.org, it returns a result that looks something along the lines of:
Item: widget
Price: $00.00
**Short Description: **blah, blah, blah, blah, blah, blah, blah, blah, blahBut, what if my on-page content reads:"The **widget **comes in blue, green or yellow, and costs $00.00. It blows away the competition and could easily be described as blah, blah, blah, **blah, blah, blah, **blah, blah, blah."
In other words, the page's content is written in a narrative form, and I'd rather not have that narrative broken up with a block showing just the Item, Price, and Description—but, I'd still like to have the benefits of rich snippets.
Did that make more sense?
-
I do not work on Magento, I work with Prestashop, but I think you might come across the same problem I did with my clients. Google does not specifically say you cannot pass a product amount with a currency sign, but I have found they will not accept the "offer" if the price has a currency sign. We had to develop a regex function in smarty to break the currency sign off of out products prices and they were all accepted after that.
-
Thank you. I'll give it a try.
-
The markup is used to identify what the content is. When a human sees
2003 Boxster, Red with Black convertible top, 26,000 miles, $14,000
we know someone is trying to sell something and we know what the item is, the description, and price, but search engines may or may not know this is a product for sale or is a review of a product or something else. The schema.org allows you to tell search engines this is indeed a product for sale and here are the attributes of that product including item name, price, etc.
So, in answer to your question, the markup goes in the body of the page and marks up the content.
Best,
Christopher
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
How would you handle these pages? Should they be indexed?
If a site has about 100 pages offering specific discounts for employees at various companies, for example... mysite.com/discounts/target mysite.com/discounts/kohls mysite.com/discounts/jcpenney and all these pages are nearly 100% duplicates, how would you handle them? My recommendation to my client was to use noindex, follow. These pages tend to receive backlinks from the actual companies receiving the discounts, so obviously they are valuable from a linking standpoint. But say the content is nearly identical between each page; should they be indexed? Is there any value for someone at Kohl's, for example, to be able to find this landing page in the search results? Here is a live example of what I am talking about: https://www.google.com/search?num=100&safe=active&rlz=1C1WPZB_enUS735US735&q=site%3Ahttps%3A%2F%2Fpoi8.petinsurance.com%2Fbenefits%2F&oq=site%3Ahttps%3A%2F%2Fpoi8.petinsurance.com%2Fbenefits%2F&gs_l=serp.3...7812.8453.0.8643.6.6.0.0.0.0.174.646.3j3.6.0....0...1c.1.64.serp..0.5.586...0j35i39k1j0i131k1j0i67k1j0i131i67k1j0i131i46k1j46i131k1j0i20k1j0i10i3k1.RyIhsU0Yz4E
Intermediate & Advanced SEO | | FPD_NYC0 -
Data Vocab or Schema?
Hi I've always used schema mark up in previous companies, however product pages on the site I'm currently working on are in data vocab. I cant find much about data vocab, so is it best to move away from this? I need to update the mark up on our product pages - so want the best mark up for this Thank you
Intermediate & Advanced SEO | | BeckyKey0 -
Google indexing only 1 page out of 2 similar pages made for different cities
We have created two category pages, in which we are showing products which could be delivered in separate cities. Both pages are related to cake delivery in that city. But out of these two category pages only 1 got indexed in google and other has not. Its been around 1 month but still only Bangalore category page got indexed. We have submitted sitemap and google is not giving any crawl error. We have also submitted for indexing from "Fetch as google" option in webmasters. www.winni.in/c/4/cakes (Indexed - Bangalore page - http://www.winni.in/sitemap/sitemap_blr_cakes.xml) 2. http://www.winni.in/hyderabad/cakes/c/4 (Not indexed - Hyderabad page - http://www.winni.in/sitemap/sitemap_hyd_cakes.xml) I tried searching for "hyderabad site:www.winni.in" in google but there also http://www.winni.in/hyderabad/cakes/c/4 this link is not coming, instead of this only www.winni.in/c/4/cakes is coming. Can anyone please let me know what could be the possible issue with this?
Intermediate & Advanced SEO | | abhihan0 -
Help! Website Page Structure.
Hi there, I have a cupcake website; www.cupcakesdelivered.com.au To date, we have sold only regular cupcakes. Moving forward, we are about to start selling lots of different sorts of cupcakes and want to categorise them - i.e.; sport cupcakes, corporate cupcakes, movie-themed cupcakes etc. I am looking for a recommendation on how best to structure this in terms of pages / domains / subdomains etc, so as to best support SEO. Your help would be greatly appreciated!! Thank you, Laura.
Intermediate & Advanced SEO | | cupcakesdelivered0 -
We are switching our CMS local pages from a subdomain approach to a subfolder approach. What's the best way to handle this? Should we redirect every local subdomain page to its new subfolder page?
We are looking to create a new subfolder approach within our website versus our current subdomain approach. How should we go about handling this politely as to not lose everything we've worked on up to this point using the subdomain approach? Do we need to redirect every subdomain URL to the new subfolder page? Our current local pages subdomain set up: stores.websitename.com How we plan on adding our new local subfolder set-up: websitename.com/stores/state/city/storelocation Any and all help is appreciated.
Intermediate & Advanced SEO | | SEO.CIC0 -
Moving from a .org to a .com
We have been a .org website for as long as the web as been around. We just recently got the .com for our organization and wondered what the transition process would be like. We offer a lot of content to help parents with parenting and so as a content driven site we have about 13k external links and 1,200 linking root domains links to our site. Will we loose all our links in the transition to the .com? Is there a way to do this well that helps our brand and also retains our google ranking? Thanks so much for any and all help.
Intermediate & Advanced SEO | | movieguide0 -
Embedded mobile page?
I have a client who wants a mobile version of their homepage. Normally, I use responsive design to accomplish this for the SEO benefit, but in this case the client wants very different information on the mobile home page than their regular home page. I don't want to go to a dedicated mobile version of the page because they get a fair amount of mobile traffic and so it would probably have a significant negative impact on their SEO to do so. So I was thinking I would add a hidden div to the home page which includes everything they want on the mobile home page and then use CSS to hide the regular content and show the hidden content if someone reaches the page from a smart phone. What do you think about this idea? Would I run afoul of Google's anti-cloaking "rules"? Has anyone done something like this before? Thanks!
Intermediate & Advanced SEO | | farlandlee0 -
To land page or not to land page
Hey all, I wish to increase my sites rankings on a variety of keywords within sub categories but I'm unsure where to be spending the time in SEO. Here's an example of the website page structure: General Home Page > Sub Category 1 Home Page
Intermediate & Advanced SEO | | DPSSeomonkey
> Searching / Results pages
- Sub Category 1
- Sub Category 2
- Sub Category 3
- Sub Category 4 > Sub Category 2 Home Page
> Searching / Results pages
- Sub Category 1
- Sub Category 2
- Sub Category 3
- Sub Category 4 We've newly introduced the Sub Category Home Pages and I was wondering if SEO is best performed on these pages or should landing pages be built, one for each of the 4 sub categories in each section. Those landing pages would have links to the "Searching / Results pages" for that sub category. Thanks!0