Hello,
Thanks for contacting us and sorry for any inconvenience that might have been caused due to that.
Can you please share some of the affected URLs in the sensitive data section so we can check and assist you further?
We really look forward to helping you.
Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
Hello,
I checked the URLs you’ve shared and the URLs with the “Either “offers”, “review”, or “aggregateRating” error are all archive/collection pages. The product schemas from the individual products are added to these collection pages.
As per Google’s guidelines, the Product schema should only be applied to single product pages.
Assuming you’re using WooCommerce and these are product category pages, please head over to Rank Math > Titles & Meta > Product categories, and enable the Remove Snippet Data option.
![](https://i.rankmath.com/0vEdUh+)
This would remove the product schemas from the category pages.
Once done, please clear your website’s cache and wait for Google to crawl the website again and see if the issue gets fixed.
For the second set of URLs with the GTIN warning, you can follow this guide:
https://rankmath.com/kb/gtin-mpn-woocommerce/
This would require the PRO version of Rank Math as the option to add GTIN is available only in the PRO version.
Hope this helps.
Thank you.
Ok sir,
We’re done with all processes.
Sir, How we can fix GTIN Warning in Free Verison.
Hello,
As mentioned previously, we do not have a feature to add the GTIN in the free version of Rank Math.
However, there is a workaround, using a third-party plugin, that can fix the warning.
Firstly, you can install this plugin:
https://et.wordpress.org/plugins/product-gtin-ean-upc-isbn-for-woocommerce/
Then you can add the GTIN code to the products by following the screenshots on the above plugin’s page.
Finally, you can add this code to the website:
add_filter( 'rank_math/snippet/rich_snippet_product_entity', function( $entity ) {
if( false !== is_product() ){
$gtin = get_post_meta(get_the_ID(),'_wpm_gtin_code', true);
$entity['gtin8'] = $gtin; // Replace 'gtin8' with the required GTIN type.
}
return $entity;
});
This code would pull the added GTIN code from the database and add it to the product schema.
You can follow this guide to add the code:
https://rankmath.com/kb/wordpress-hooks-actions-filters/
There are a few important points that we would like to mention here:
1. As you can see on the above plugin’s page, the plugin is not maintained from the last 3 major WordPress releases. Hence it might have compatibility issues.
2. We highly recommend testing the plugin and the code in a staging website first and only if everything is fine, move it to the live website. Here’s a guide you can follow to create the staging website: https://www.wpbeginner.com/wp-tutorials/how-to-create-staging-environment-for-a-wordpress-site/
Hope this helps.
Thank you.
Hello,
Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.
If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.
Thank you.