More threads by Jo Shaer

Joined
Jul 27, 2012
Messages
276
Solutions
1
Reaction score
40
Hi Guys
Just adding schema through GTM to a contact page. We noticed that the Yoast plugin automatically adds organisation schema to every page.
Web dev says he can block the Yoast schema. But that will remove the organisation schema that has been crawled by Google's bots so she is used to seeing.
Would removing the Yoast organisation schema cause any short or long term SEO impact?
We do plan to add page-specific Schema to the main pages over the next few weeks
 
Adding schema via GTM is not recommended

Ugh.

A while back Google's Structured Data Testing Tool stopped seeing Structured Data that was inserted via Google Tag Manager.

This caused a minor little uproar on Twitter when Google's John Mueller tweeted a response of "I wouldn't rely on a tool like GTM to add Structured Data". One blog immediately twisted this into wrote that Google itself has now declared that GTM should not be used for inserting Structured Data. Which is ridiculous.

A new, reliable way to insert Structured Data via Google Tag Manager was found by Simo Ahava and this method allows for the testing tool to detect the Structured Data 100% fine.

2f2f6d65646961302e67697068792e636f6d2f6d656469612f596c35614f33676456667351302f67697068792e676966.gif

Tag Manager is the superior method to implement at scale and can dynamically change the Structured Data based on the content of the page! (eg: 1 single snippet for the schema for 10,000 blog posts, that can all be updated in under 30 sec.) See this article and this older Moz article for more information on how to do that.

HTML:
<!-- GOOGLE TAG MANAGER VERSION -->
<!-- Credit: https://twitter.com/SimoAhava/status/1001397355403468802 -->
<!-- Source: https://github.com/JayHoltslander/Structured-Data-JSON-LD -->
<script>
(function() {
   var jsonData =

// PASTE THE JSON THAT YOU WANT TO USE, HERE.
// Only paste what's within the <script> block.
// Your pasted content should start with a "{" and end with a "}"

; var el = document.createElement('script');
el.type = 'application/ld+json';
el.innerHTML = JSON.stringify(jsonData);
document.head.appendChild(el);
})();
</script>
 
Well that's what I get for listening to John Mueller!

He is an authority for sure but he speaks broadly and somewhat vaguely. This causes people to fill in the gaps for him or put words in his mouth for some reason. In the news the other day there was yet another article saying that Google has once again declared that SD should not be inserted via GTM that was based off his words online. But they omitted a key quote in the article that was from John where he said "you can use GTM to add SD to pages"

John Mueller is always cited as the guy who is saying it shouldn't be done, but he's also a guy who knows that it can be done successfully. When people try to clarify why John often sounds like he's saying it shouldn't be done, they get very little in the way of an explanation or clarification.
 

Login / Register

Already a member?   LOG IN
Not a member yet?   REGISTER

Events

LocalU October 2024 Webinar

  Promoted Posts

New advertising option: A review of your product or service posted by a Sterling Sky employee. This will also be shared on the Sterling Sky & LSF Twitter accounts, our Facebook group, LinkedIn, and both newsletters. More...
Top Bottom