Moz Q&A is closed.
After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
Product Schema Markup for All Products
-
Hi Team,
Google search console used to allow you to use their structured data markup helperhttps://www.google.com/webmasters/markup-helper/u/0/ to markup multiple product pages at once that were similar. I do not see this feature anymore with the new search console. Does anyone have a recommendation for marking up multiple product pages without having to have schema markup firing in GTM for each product page?
-
thanks for the schema code .
I already try with my personal website .please have a look at the code seo company in dubai
-
It is a AspDotNetStorefront E-commerce CMS. These developer tools are helpful. I have looked into the dynamic schema markup blog, but am not sure it is the best to implement this if there are a lot of products. I might also consider trying to have a developer implement article markup for a drupal site. This has been helpful thank you.
-
I agree what is storefront I can't find a CMS called storefront?
If Schema markup is being added to a brand new site, it’s much easier for developers to add the Schema as part of the site build, as opposed to layering it on after the website has already been coded. Developers benefit from SEOs telling them specifically which page elements require Schema (location, events, etc.) and a link to the respective Schema type on Schema.org, so the developer can figure out the best approach for implementation.
SEOs have largely taken ownership of writing JSON-LD themselves, which is great for speeding up the process of implementing Schema. JSON-LD is generally easiest for developers to implement, but adding inline Schema is usually simple as well. There are some plugins that can assist with the implementation, but they generally only support basic Schema types, such as the Website or Organization.
One way:
https://moz.com/blog/using-google-tag-manager-to-dynamically-generate-schema-org-json-ld-tags
https://moz.com/blog/json-ld-for-beginners
You can use Cloudflare
https://github.com/cloudflare/doca/blob/master/example/product.json
https://blog.cloudflare.com/cloudflares-json-powered-documentation-generator/
https://www.cloudflare.com/apps/developer/docs/install-json/options
I hope I have been of help,
Tom
-
Thank you Tom,
We are on storefront currently. We had previously used the schema markup tool for some of their products. I have used Google markup helper and technicalseo.com resources before to create JSON-LD to fire in GTM for blogs, vidoes, how-to pages, etc but not for product pages. Mostly because I agree that it can be done in a better way. Maybe consulting with a developer to implement product markup is best.
-
HI
Can I ask what platform you are using? If you're using an e-commerce platform like Magento, Shopify, BigCommerce, etc. There are simple ways of writing code that will do a better job as well as plug-ins that you can purchase and/or use for free.
Or if in the unlikely event you are just running an E-commerce website without a CMS you can still do this via coding. there is a method no matter what flavor of kosher using rather it be Ruby, PHP NodeJS, etc.
FYI
Google does NOT recommend Using Tag Manager to Implement Schema Markup.
John Mueller from Google advises against using Google Tag Manager to deploy Structured Data and mentions that the ideal solution is to add the structured data directly into the HTML. So ideally process it server-side and pass it via HTML instead of relying on a client-side solution like Javascript.
While this is not the ideal solution, as SEOs we know that we are not always in ideal situations and at times our best bet is to deploy it through a solution like Google Tag Manager. You could also look at deploying it via an Edge Computing Solution like Cloudflare Workers.
https://www.cloudflare.com/en-au/products/cloudflare-workers/
It is less than ideal to use Google tag manager to deploy JSON-LD to websites. It can be done but obviously it's not the best way.
just because it's not on the new search console yet does not mean that Google's structured data markup helper tool is obsolete.
https://www.google.com/webmasters/markup-helper/u/0/
Yes if you want to ad JSON-LD
Use any of the tools here
https://www.schemaapp.com/60-structured-data-tools-create-test-plugins-more/
Convert to GTM
https://saijogeorge.com/json-ld-schema-generator/tag-manager-fix/
You can add basic JSON-LD with
https://www.bounteous.com/insights/2017/03/20/seo-structured-data-recipe-gtm/
I use this to make this example
https://technicalseo.com/tools/schema-markup-generator/
GTM Friendly code
I hope I have been of help,
Tom
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
-
Safety Data Sheet PDFs are Showing Higher in Search Results than Product Pages
I have a client who just launched an updated website that has WooCommerce added to it. The website also has a page of Safety Data Sheets that are PDFs that contain information about some of the products. When we do a Google search for many of the products the Safety Data Sheets show up first in the search results instead of the product pages. Has anyone had this happen and know how to solve the issue?
Technical SEO | | teamodea0 -
Product schema with no offer as owner wants to give price per customer
Hi, Trying to markup products for a site that does not show prices. Is there any way to markup a product price when the business model is: 1. customer calls or contacts shop. 2. shop gives a price quote based on level of detail and finish on the product 3. there is no base or top price. Thanks in advance!
Technical SEO | | plahpoy0 -
Schema for blogs
When I run a wordpress blog through the structured data testing tool I see that there is @type hentry. Is this enough for blogs etc? Is this a result of Wordpress adding in this markup? Do you recommend adding @blogposting type and if so why? What benefit to add a specific type of schema? How does it help in blogging? Thanks
Technical SEO | | AL123al4 -
Problems with WooCommerce Product Attribute Filter URL's
I am running a WordPress/WooCommerce site for a client, and Moz is picking up some issues with URL's generated from WooCommerce product attribute filters. For example: ..co.uk/womens-prescription-glasses/?filter_gender=mens&filter_style=full-rim&filter_shape=oval How do I get Google to ignore these filters?
Technical SEO | | SushiUK
I am running Yoast Premium, but not sure if this can solve the issue? Product categories are canonicalised to the root category URL. Any suggestions very gratefully appreciated. Thanks Bob0 -
How to handle dynamic product url that changes regularly
Hey Moz, It's actually my first post - although I look at the Q&As on a daily basis! I was hoping to get your opinions on how to handle dynamic product url that can change regularly. Before we start, our product page urls get populated by the product titles. So the situation is this. Let’s say we have a product url: /product/12345-abcde-fghj/ Then the client decides to change the title a week later, so the url changes with it to): /listing/12345-klm-qjk Another week later, the agent changes to: /listing/12345-jkhfk-jhf-kjdhfkjdhf So to note, the product ID will always remain the same. Naturally, 301 redirecting every time would cause a bit of page authority to be lost every time 301ed. Also potentially creating new a few hundreds of 301 redirect daily sounds totally mental. (I have been informed by the dev we expect a few hundreds to change url daily) Although I understand there’s no limit on how many 301s you can have on a single domain, this would look completely unnatural - really not ideal. So the potential solution we thought was: we’ll keep the original url, and make sure that is the only url that will get indexed**/product/12345-abcde-fghj/**and put canonical tag on any of the new urls, directing to the original url. The problem we will have then is that the most current url may not exactly match the description of the product -wouldn’t be ideal for ux. Has anyone had dealing with issues like this in the past? Would love to get your input! Many Thanks
Technical SEO | | MH-UK0 -
The W3C Markup Validation Service - Good, Bad or Impartial?
Hi guys, it seems that now days it is almost impossible to achieve 0 (Zero) Errors when testing a site via (The W3C Markup Validation Service - https://validator.w3.org). With analytic codes, pixels and all kind of tracking and social media scripts gunning it seems to be an unachievable task. My questions to you fellow SEO'rs out there are 2: 1. How important and to what degree of effort do you go when you technically review a site and make the decision as to what needs to be fixed and what you shouldn't bother with. 2. How do you argue your corner when explaining to your clients that its impossible to active 100% validation. *As a note i will say that i mostly refer to Wordpress driven sites. would love ot hear your take. Daniel.
Technical SEO | | artdivision0 -
How big is the problem: 404-errors as result of out of stock products?
We had a discussion about the importance of 404-errors as result of products which are out of stock. Of course this is not good, but what is the leverance in terms of importance: low-medium-high?
Technical SEO | | Digital-DMG0 -
Duplicate Content Issues on Product Pages
Hi guys Just keen to gauge your opinion on a quandary that has been bugging me for a while now. I work on an ecommerce website that sells around 20,000 products. A lot of the product SKUs are exactly the same in terms of how they work and what they offer the customer. Often it is 1 variable that changes. For example, the product may be available in 200 different sizes and 2 colours (therefore 400 SKUs available to purchase). Theese SKUs have been uploaded to the website as individual entires so that the customer can purchase them, with the only difference between the listings likely to be key signifiers such as colour, size, price, part number etc. Moz has flagged these pages up as duplicate content. Now I have worked on websites long enough now to know that duplicate content is never good from an SEO perspective, but I am struggling to work out an effective way in which I can display such a large number of almost identical products without falling foul of the duplicate content issue. If you wouldnt mind sharing any ideas or approaches that have been taken by you guys that would be great!
Technical SEO | | DHS_SH0