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)
- 2022 Update for Google Quality Rater Guidelines – Big YMYL Updates - August 1, 2022
- Google Quality Rater Guidelines: The Low Quality 2021 Update - October 19, 2021
- Rethinking Affiliate Sites With Google’s Product Review Update - April 23, 2021
- New Google Quality Rater Guidelines, Update Adds Emphasis on Needs Met - October 16, 2020
- Google Updates Experiment Statistics for Quality Raters - October 6, 2020