A question came up on Twitter about the Google Structured Data Testing Tool not being able to recognize schema added to a page with Google Tag Manager rather than placing the schema itself on the page. While Mueller doesn’t address the issue with the testing tool not recognizing schema via GTM, he does say that GTM should not be the way structured data is added to a site.
I wouldn't rely on a tool like GTM to add structured data — it can work, but it shouldn't be your primary way of integrating structured data.
— John ☆.o(≧▽≦)o.☆ (@JohnMu) July 11, 2018
Interestingly, why there are some third party sites with instructions on implementing structured data with Google Tag Manager, there don’t seem to be any on Google’s own site. This could be because Google Tag Manager is actually a Google Analytics product, and not a Search or Search Console related product.
And there should always be warning flags when an official Google tool is throwing warnings for how something is implemented, especially with how vital some types of structured data is to the appearance of pages in the search results, since added schema can influence click through rate from the search results.
There have been some site owners complaining about errors implementing structured data via GTM recently, which could also be part of the reason why Google is not recommending this implementation.
If you are using GTM currently for structured data and the rich features are showing up in the search results correctly, you probably don’t need to worry about it. But going forward, it seems Google is recommending implementing it on page instead of via GTM.
Latest posts by Jennifer Slegg (see all)
- Google Local Service Ads Display Pricing Estimates for Specific Locations - August 31, 2018
- Google Testing “Relevant History” Section in Mobile Search Results - August 31, 2018
- Google Converts PDFs, DOCs, XLS etc into HTML for Indexing - August 30, 2018
- Why Google Shows Featured Snippets With Images from Another Site - August 29, 2018
- How to Download Links Report in New Google Search Console - August 27, 2018