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)
- Analyzing “How Google Search Works” Changes from Google - July 8, 2020
- Google Quality Rater Guidelines Update: New Introduction, Rater Bias & Political Affiliations - December 6, 2019
- Google Updates Quality Rater Guidelines: Reputation for News Sites; Video Content Updates; Quality for Information Sites - September 13, 2019
- Google Makes Major Changes to NoFollow, Adds Sponsored & UGC Tags - September 10, 2019
- Google Updates Quality Rater Guidelines Targeting E-A-T, Page Quality & Interstitials - May 17, 2019