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 Slows Crawling With 5xx Server Errors - July 13, 2018
- Google: H Tags as a Ranking Factor - July 13, 2018
- Using Redirects Can Impact Google AdWords Quality Score - July 12, 2018
- Bing Testing Feature to Open Search Results in New Tab - July 12, 2018
- Google: Don’t Rely on Google Tag Manager for Structured Data - July 12, 2018